]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / src / common / ftp.cpp
index ae77931ca7a9d9b660f5cca019530d1eeb2a2350..d1bc22eeecba79845ea3b8f5dc79ae92039b1427 100644 (file)
@@ -587,9 +587,9 @@ wxSocketBase *wxFTP::GetActivePort()
     addrNew.Service(0); // pick an open port number.
 
     wxSocketServer *sockSrv = new wxSocketServer(addrNew);
-    if (!sockSrv->Ok())
+    if (!sockSrv->IsOk())
     {
-        // We use Ok() here to see if everything is ok
+        // We use IsOk() here to see if everything is ok
         m_lastError = wxPROTO_PROTERR;
         delete sockSrv;
         return NULL;