version 1.83, 2008/10/16 23:15:53 |
version 1.84, 2009/04/26 21:26:03 |
|
|
|
|
bytes = 0; |
bytes = 0; |
hashbytes = mark; |
hashbytes = mark; |
progressmeter(-1); |
progressmeter(-1, path); |
|
|
if ((buf = malloc(4096)) == NULL) |
if ((buf = malloc(4096)) == NULL) |
errx(1, "Can't allocate memory for transfer buffer"); |
errx(1, "Can't allocate memory for transfer buffer"); |
|
|
warn("Reading from file"); |
warn("Reading from file"); |
goto cleanup_url_get; |
goto cleanup_url_get; |
} |
} |
progressmeter(1); |
progressmeter(1, NULL); |
if (verbose) |
if (verbose) |
fputs("Successfully retrieved file.\n", ttyout); |
fputs("Successfully retrieved file.\n", ttyout); |
(void)signal(SIGINT, oldintr); |
(void)signal(SIGINT, oldintr); |
|
|
|
|
bytes = 0; |
bytes = 0; |
hashbytes = mark; |
hashbytes = mark; |
progressmeter(-1); |
progressmeter(-1, path); |
|
|
free(buf); |
free(buf); |
|
|
|
|
warn("Reading from socket"); |
warn("Reading from socket"); |
goto cleanup_url_get; |
goto cleanup_url_get; |
} |
} |
progressmeter(1); |
progressmeter(1, NULL); |
if ( |
if ( |
#ifndef SMALL |
#ifndef SMALL |
!resume && |
!resume && |