diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index e628d66c6478..7e5496b640ca 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1845,6 +1845,7 @@ send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg) } } + transflag = 0; reply(226, "Transfer complete."); return (0); }