mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 00:43:39 +08:00
remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpreting the PORT command correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user