From: sgunderson Date: Thu, 29 May 2003 20:05:34 +0000 (+0000) Subject: Fixed a compile error with --disable-upload. X-Git-Url: https://git.sesse.net/?p=betaftpd;a=commitdiff_plain;h=387002b6259cb7f9284e786a35763a2aeaff5dbd Fixed a compile error with --disable-upload. --- diff --git a/ftpd.c b/ftpd.c index a7234f8..7d52ba3 100644 --- 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; }