]> git.sesse.net Git - betaftpd/commitdiff
Fixed a compile error with --disable-upload.
authorsgunderson <sgunderson>
Thu, 29 May 2003 20:05:34 +0000 (20:05 +0000)
committersgunderson <sgunderson>
Thu, 29 May 2003 20:05:34 +0000 (20:05 +0000)
ftpd.c

diff --git a/ftpd.c b/ftpd.c
index a7234f8789dd073182e1fc019de00a24f8683cdb..7d52ba3d234da84a6f699aecc1aced981faf1d56 100644 (file)
--- a/ftpd.c
+++ b/ftpd.c
@@ -446,7 +446,9 @@ struct ftran *alloc_new_ftran(const int sock, const struct conn * const c)
 #endif
 
        f->dir_listing = 0;
+#if WANT_UPLOAD
        f->upload = 0;
+#endif
        return f;
 }