778 |
static char *buf; |
static char *buf; |
779 |
long bytes = 0, local_hashbytes = hashbytes; |
long bytes = 0, local_hashbytes = hashbytes; |
780 |
struct timeval start, stop; |
struct timeval start, stop; |
|
struct stat st; |
|
781 |
|
|
782 |
is_retr = strcmp(cmd, "RETR") == 0; |
is_retr = strcmp(cmd, "RETR") == 0; |
783 |
if (is_retr && verbose && printnames) { |
if (is_retr && verbose && printnames) { |
862 |
} |
} |
863 |
closefunc = fclose; |
closefunc = fclose; |
864 |
} |
} |
865 |
if (fstat(fileno(fout), &st) < 0 || ST_BLKSIZE(st) == 0) |
blksize = BUFSIZ; |
|
blksize = BUFSIZ; |
|
|
else |
|
|
blksize = ST_BLKSIZE(st); |
|
866 |
if (blksize > bufsize) { |
if (blksize > bufsize) { |
867 |
if (buf) |
if (buf) |
868 |
(void) free(buf); |
(void) free(buf); |