diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-11-13 13:42:43 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-11-13 13:42:43 +0000 |
| commit | 6e4b0a55f72e25c58aea64acfcdab0b32721c2d2 (patch) | |
| tree | 92227603acbde3e10eb2c408e4da0262db01d0ae /libexec | |
| parent | e3765043a8cfb12684805d2f192cfcc264032f5b (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index f40bd954506f..8705dc8c278e 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -252,7 +252,7 @@ static int guniquefd(char *, char **); static void lostconn(int); static void sigquit(int); static int receive_data(FILE *, FILE *); -static int send_data(FILE *, FILE *, off_t, off_t, int); +static int send_data(FILE *, FILE *, size_t, off_t, int); static struct passwd * sgetpwnam(char *); static char *sgetsave(char *); @@ -2005,7 +2005,7 @@ pdata_err: * NB: Form isn't handled. */ static int -send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg) +send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg) { int c, cp, filefd, netfd; char *buf; |
