* ftpfs.c (linear_abort): Close data socket, ProFTPD 1.2.6

expects the client to close it.
This commit is contained in:
Pavel Roskin 2002-10-25 21:50:21 +00:00
parent d6725db8b2
commit 43b3170fc4
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

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