]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- more workarounds
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 08:18:55 +0000 (10:18 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 08:18:55 +0000 (10:18 +0200)
wxWidgets-format.patch

index 0bfbe42d1b09aba6bad2eea90492f89165fd824d..350e9f05e0da70c53b10b65786d3a4c49adf189e 100644 (file)
  
          return false;
      }
+--- wxWidgets-2.8.12/src/common/ftp.cpp.orig   2011-03-22 12:59:41.000000000 +0100
++++ wxWidgets-2.8.12/src/common/ftp.cpp        2012-09-30 10:18:44.061662974 +0200
+@@ -628,7 +628,7 @@
+     if ( !sockSrv->WaitForAccept() )
+     {
+         m_lastError = wxPROTO_CONNERR;
+-        wxLogError(_("Timeout while waiting for FTP server to connect, try passive mode."));
++        wxLogError("%s", _("Timeout while waiting for FTP server to connect, try passive mode."));
+         delete sock;
+         sock = NULL;
+     }
+@@ -689,7 +689,7 @@
+     {
+         m_lastError = wxPROTO_PROTERR;
+         delete sockSrv;
+-        wxLogError(_("The FTP server doesn't support the PORT command."));
++        wxLogError("%s", _("The FTP server doesn't support the PORT command."));
+         return NULL;
+     }
+@@ -701,7 +701,7 @@
+ {
+     if ( !DoSimpleCommand(_T("PASV")) )
+     {
+-        wxLogError(_("The FTP server doesn't support passive mode."));
++        wxLogError("%s", _("The FTP server doesn't support passive mode."));
+         return NULL;
+     }
This page took 0.146471 seconds and 4 git commands to generate.