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);
 }


Reply via email to