version 1.46, 2003/04/05 17:19:47 |
version 1.47, 2003/08/15 23:13:06 |
|
|
progressmeter(-1); |
progressmeter(-1); |
|
|
if ((buf = malloc(4096)) == NULL) |
if ((buf = malloc(4096)) == NULL) |
errx(1, "Can't allocate memory for transfer buffer\n"); |
errx(1, "Can't allocate memory for transfer buffer"); |
|
|
/* Finally, suck down the file. */ |
/* Finally, suck down the file. */ |
i = 0; |
i = 0; |
|
|
|
|
/* Finally, suck down the file. */ |
/* Finally, suck down the file. */ |
if ((buf = malloc(4096)) == NULL) |
if ((buf = malloc(4096)) == NULL) |
errx(1, "Can't allocate memory for transfer buffer\n"); |
errx(1, "Can't allocate memory for transfer buffer"); |
i = 0; |
i = 0; |
while ((len = fread(buf, sizeof(char), 4096, fin)) > 0) { |
while ((len = fread(buf, sizeof(char), 4096, fin)) > 0) { |
bytes += len; |
bytes += len; |