]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
fixed bug with not NUL-terminating the string in GAddress_UNIX_SetPath
[wxWidgets.git] / src / common / ftp.cpp
index 5b11e509a0ad045ae31c711e1125b06f26cfedd7..f3126b2f333b5120b7b3056e51665c62a594de8c 100644 (file)
@@ -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;