diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-03-11 13:20:44 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-03-11 13:20:44 +0000 |
| commit | 1f15c0d66c86461cb40dbb550708db18408f8d66 (patch) | |
| tree | 2de0b9fa0679d08f691fc13d25285aac47fe54a4 /libexec | |
| parent | e3c805cd0709a203bc736de8b19d04f1cf1565bb (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 0a4940543e076..43ab6bfa73110 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1749,6 +1749,7 @@ send_data(instr, outstr, blksize, filesize, isreg) while (err != -1 && cnt < filesize) { err = sendfile(filefd, netfd, offset, len, (struct sf_hdtr *) NULL, &cnt, 0); + byte_count += cnt; offset += cnt; len -= cnt; |
