diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index c9934c1bb3..675f9eb121 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -685,7 +685,7 @@ wxSocketBase *wxFTP::GetActivePort() // addresses because the addrNew has an IP of "0.0.0.0", so we need the // value in addrLocal wxString port = GetPortCmdArgument(addrLocal, addrNew); - if ( !DoSimpleCommand(_T("PORT "), port) ) + if ( !DoSimpleCommand(_T("PORT"), port) ) { m_lastError = wxPROTO_PROTERR; delete sockSrv;