ftp.c: fix socket leak torture tests detected 2011-08-30
authorYang Tse <yangsita@gmail.com>
Mon, 12 Sep 2011 13:16:07 +0000 (15:16 +0200)
committerYang Tse <yangsita@gmail.com>
Mon, 12 Sep 2011 13:16:07 +0000 (15:16 +0200)
commit4e9a1c5bba35e2eab7c2d9770a7cd4940372dbf8
treeb0095782833f1efd64a95ae67fc7cf23891f0e0d
parent587ed3234bef1bf39491845c12d1391ff132be40
ftp.c: fix socket leak torture tests detected 2011-08-30

Also fix inappropriate error handling when sending ftp EPRT or PORT commands.
lib/ftp.c