]> git.sesse.net Git - betaftpd/blobdiff - ftpd.c
do_download(): Removed the check for f->upload :-D
[betaftpd] / 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.
         */
-       if (f->dir_listing == 0
-#if WANT_UPLOAD
-               && f->upload == 0
-#endif
-       ) {
+       if (f->dir_listing == 0) {
                int err;
                size = f->size - f->pos;