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:
parent
3b94ab1836
commit
b0ad200675
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user