? .gdbinit
? fail
Index: ftp.cc
===================================================================
RCS file: /server/cvs-server/squid/squid3/src/ftp.cc,v
retrieving revision 1.403
diff -u -r1.403 ftp.cc
--- ftp.cc	2 Sep 2006 10:03:20 -0000	1.403
+++ ftp.cc	7 Sep 2006 14:39:00 -0000
@@ -1251,7 +1251,7 @@
 #endif
 
     if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) {
-        transactionComplete();
+        comm_close(ctrl.fd);
         return;
     }
 
@@ -1702,7 +1702,7 @@
         return;
 
     if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) {
-        ftpState->transactionComplete();
+	comm_close(ftpState->ctrl.fd);
         return;
     }
 
@@ -1734,7 +1734,7 @@
             return;
         }
 
-        ftpState->transactionComplete();
+	comm_close(ftpState->ctrl.fd);
         return;
     }
 
@@ -2466,7 +2466,7 @@
         return;
 
     if (EBIT_TEST(ftpState->entry->flags, ENTRY_ABORTED)) {
-        ftpState->transactionComplete();
+	comm_close(ftpState->ctrl.fd);
         return;
     }
 
@@ -2851,7 +2851,7 @@
 static void
 ftpReadQuit(FtpStateData * ftpState)
 {
-    ftpState->transactionComplete();
+    comm_close(ftpState->ctrl.fd);
 }
 
 static void
@@ -2944,7 +2944,7 @@
     if (entry->isEmpty())
         failedErrorMessage(error, xerrno);
 
-    transactionComplete();
+    comm_close(ctrl.fd);
 }
 
 void

