From 7b2cdd7bad4618c37b53946aa42cc9c9f5002a34 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 20 Jun 1997 08:22:11 +0000 Subject: [PATCH] in ftpAbort, close the descriptors instead of trying to send QUIT --- src/ftp.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ftp.cc b/src/ftp.cc index 359db7477d..329791b09c 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.126 1997/06/20 00:00:12 wessels Exp $ + * $Id: ftp.cc,v 1.127 1997/06/20 02:22:11 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1480,5 +1480,7 @@ ftpAbort(void *data) { FtpStateData *ftpState = data; debug(9, 1) ("ftpAbort: %s\n", ftpState->entry->url); - ftpDataTransferDone(ftpState); + if (ftpState->data.fd >= 0) + comm_close(ftpState->data.fd); + comm_close(ftpState->ctrl.fd); } -- 2.47.2