]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
closing the wrong F(*&(*ING FD
authorwessels <>
Fri, 22 Jan 1999 11:28:17 +0000 (11:28 +0000)
committerwessels <>
Fri, 22 Jan 1999 11:28:17 +0000 (11:28 +0000)
src/ftp.cc

index 62858eb0661878092de714988e35d5a9ccf0176b..f63fdc6b2a0cee3c038416b56f47384fbe2e46fe 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ftp.cc,v 1.275 1999/01/22 04:18:47 wessels Exp $
+ * $Id: ftp.cc,v 1.276 1999/01/22 04:28:17 wessels Exp $
  *
  * DEBUG: section 9     File Transfer Protocol (FTP)
  * AUTHOR: Harvest Derived
@@ -835,7 +835,7 @@ ftpDataRead(int fd, void *data)
 #endif
     assert(fd == ftpState->data.fd);
     if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) {
-       comm_close(fd);
+       comm_close(ftpState->ctrl.fd);
        return;
     }
     errno = 0;