From 847984a5954562e4217a03f2a9f029ed50f6865e Mon Sep 17 00:00:00 2001 From: sgunderson Date: Fri, 20 Apr 2001 13:31:17 +0000 Subject: [PATCH] Finally fixed (hopefully) upload hang bug -- it was a SPELLING ERROR... --- ftpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftpd.c b/ftpd.c index d358781..374db96 100644 --- a/ftpd.c +++ b/ftpd.c @@ -632,8 +632,8 @@ int process_all_sendfiles(fd_set * const active_clients, const int num_ac) f = next; next = f->next_ftran; -#if HAVE_UPLOAD - if (f->upload == 1 && fds[f->sock].revents & POLLHUP) { +#if WANT_UPLOAD + if ((f->upload == 1) && (fds[f->sock].revents & POLLHUP)) { finish_transfer(f); continue; } -- 2.39.2