]> git.sesse.net Git - betaftpd/commitdiff
do_upload(): Removed unused variable `avail\'.
authorsgunderson <sgunderson>
Thu, 17 Aug 2000 22:02:30 +0000 (22:02 +0000)
committersgunderson <sgunderson>
Thu, 17 Aug 2000 22:02:30 +0000 (22:02 +0000)
ftpd.c

diff --git a/ftpd.c b/ftpd.c
index 1e2752c670401ecb96c5fb2a6a6e70fb8823b623..4d65210591c26c260d2c864dd5913c14c7dfdf0e 100644 (file)
--- a/ftpd.c
+++ b/ftpd.c
@@ -725,7 +725,7 @@ int process_all_sendfiles(fd_set * const active_clients, const int num_ac)
 int do_upload(struct ftran *f)
 {
        char upload_buf[16384];
-       int avail, size;
+       int size;
 #if WANT_ASCII
        /* keep buffer size small in ascii transfers 
           to prevent process stalling while filtering