[PATCH] ftpfs.c closing the data socket on abort
- From: Jindrich Makovicka <makovick kmlinux fjfi cvut cz>
- To: mc-devel <mc-devel gnome org>
- Subject: [PATCH] ftpfs.c closing the data socket on abort
- Date: Fri, 25 Oct 2002 22:47:24 +0200
Hello,
this patch makes MC work with newer versions of ProFTPD (>= 1.2.6) as
these versions expect the client to close the data socket.
--
Jindrich Makovicka
--- orig/ftpfs.c 2002-10-25 22:33:20.000000000 +0200
+++ ftpfs.c 2002-10-25 22:35:25.000000000 +0200
@@ -1019,6 +1019,7 @@
}
}
}
+ close(dsock);
if ((get_reply (me, SUP.sock, NULL, 0) == TRANSIENT) && (code == 426))
get_reply (me, SUP.sock, NULL, 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]