]> git.saurik.com Git - wxWidgets.git/commitdiff
remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpre...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Aug 2007 23:34:14 +0000 (23:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Aug 2007 23:34:14 +0000 (23:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;