diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-10-15 09:51:36 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-10-15 09:51:36 +0000 |
| commit | b4585cc13773ab4568c62cb2d0e002a1de38b031 (patch) | |
| tree | 73d925f3bb3234ecf8796d12c68237b139e2fd5b /libexec | |
| parent | 2f492fc8834f58df3faa449410bb31af65a45379 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 271bd2fb9ae1..e8e25b4039ac 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -2058,7 +2058,7 @@ send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg) filesize -= cnt; if (err == -1) { - if (!cnt) + if (cnt == 0 && offset == 0) goto oldway; goto data_err; |
