X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a737331db68b754c8bf31fa0a15f6d1f207b40bf..c17bcb844883451b564446bf7843e7b3f862fe48:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index fddfb1d185..090138b5d7 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -355,6 +355,7 @@ wxInputStream *wxFTP::GetInputStream(const wxString& path) in_stream->m_ftpsize = wxAtoi(WXSTRINGCAST str_size); } + sock->SetFlags(WAITALL); return in_stream; } @@ -401,13 +402,6 @@ wxList *wxFTP::GetList(const wxString& wildcard) return NULL; } - // Ininterresting ?! - /* - sock->SetEventHandler(*GetNextHandler(), m_id); - sock->Notify(m_notifyme); - sock->SetNotify(m_neededreq); - */ - return file_list; } #endif