a fix for new wu-ftpd

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-01-03 17:14:28 +00:00
parent 3b94ab1836
commit b0ad200675

View File

@ -478,6 +478,8 @@ public:
virtual ~wxInputFTPStream()
{
delete m_i_socket;
if ( LastError() == wxStream_NOERROR )
{
// wait for "226 transfer completed"
@ -489,8 +491,6 @@ public:
{
m_ftp->Abort();
}
delete m_i_socket;
}
wxFTP *m_ftp;