]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
use WX_ASSERT_STR/SIZET_EQUAL instead of CPPUNIT_ASSERT_EQUAL with casts
[wxWidgets.git] / src / common / ftp.cpp
index 6455c2390e278321cb421a3a8a27b6af65ed67fc..daf87e82db3bdebff2d03cc2d05ccf485855ca41 100644 (file)
@@ -687,7 +687,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;