diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 5b11e509a0..f3126b2f33 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -672,7 +672,7 @@ wxOutputStream *wxFTP::GetOutputStream(const wxString& path) wxString tmp_str = wxT("STOR ") + path; if ( !CheckCommand(tmp_str, '1') ) - return FALSE; + return NULL; m_streaming = TRUE;