From: sgunderson Date: Sat, 2 Sep 2000 15:07:49 +0000 (+0000) Subject: do_download(): Removed the check for f->upload :-D X-Git-Url: https://git.sesse.net/?p=betaftpd;a=commitdiff_plain;h=84aa46cb6489dcd731776eb9e4a91943b8bc6d92 do_download(): Removed the check for f->upload :-D --- diff --git a/ftpd.c b/ftpd.c index 9cbf5e8..637469b 100644 --- a/ftpd.c +++ b/ftpd.c @@ -790,11 +790,7 @@ int do_download(struct ftran *f) * Here we use a rather simplified sending `algorithm', * leaving most of the quirks to the system calls. */ - if (f->dir_listing == 0 -#if WANT_UPLOAD - && f->upload == 0 -#endif - ) { + if (f->dir_listing == 0) { int err; size = f->size - f->pos;