]> git.sesse.net Git - betaftpd/commitdiff
do_download(): Removed the check for f->upload :-D
authorsgunderson <sgunderson>
Sat, 2 Sep 2000 15:07:49 +0000 (15:07 +0000)
committersgunderson <sgunderson>
Sat, 2 Sep 2000 15:07:49 +0000 (15:07 +0000)
ftpd.c

diff --git a/ftpd.c b/ftpd.c
index 9cbf5e851507d3bd342bc0c070d2639585225312..637469b9a2b4c98cc41220cf4fbe9209c5d45ec9 100644 (file)
--- 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.
         */
         * 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;
 
                int err;
                size = f->size - f->pos;