mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-08 11:24:16 +03:00
* ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
expects the client to close it.
This commit is contained in:
parent
d6725db8b2
commit
43b3170fc4
@ -1,3 +1,8 @@
|
||||
2002-10-25 Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
|
||||
|
||||
* ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6
|
||||
expects the client to close it.
|
||||
|
||||
2002-10-13 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* vfs.h: Remove tar_gzipped_memlimit.
|
||||
|
@ -1019,6 +1019,10 @@ linear_abort (vfs *me, vfs_s_fh *fh)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (dsock != -1)
|
||||
close (dsock);
|
||||
|
||||
if ((get_reply (me, SUP.sock, NULL, 0) == TRANSIENT) && (code == 426))
|
||||
get_reply (me, SUP.sock, NULL, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user