]> git.saurik.com Git - wxWidgets.git/commitdiff
As per discussion in bug #1612106, change default socket flag from NONE to NOWAIT...
authorKevin Hock <hockkn@yahoo.com>
Mon, 11 Dec 2006 02:58:07 +0000 (02:58 +0000)
committerKevin Hock <hockkn@yahoo.com>
Mon, 11 Dec 2006 02:58:07 +0000 (02:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/ftp.cpp

index c7318863eec56122d2fda3660dd92cb7cdf9467b..c9934c1bb3bae9eb64c99ee7471f5a0e93cae5d6 100644 (file)
@@ -87,7 +87,7 @@ wxFTP::wxFTP()
     m_passwd << wxGetUserId() << wxT('@') << wxGetFullHostName();
 
     SetNotify(0);
-    SetFlags(wxSOCKET_NONE);
+    SetFlags(wxSOCKET_NOWAIT);
     m_bPassive = true;
     SetDefaultTimeout(60); // Default is Sixty Seconds
     m_bEncounteredError = false;