File kftpgrabber-0.8.1-gcc44.patch of Package kftpgrabber

--- kftpgrabber/src/engine/ftpsocket.cpp~	2009-09-15 15:35:25.000000000 +0200
+++ kftpgrabber/src/engine/ftpsocket.cpp	2009-09-15 15:35:25.000000000 +0200
@@ -758,7 +758,7 @@
         }
         
         // 229 Entering Extended Passive Mode (|||55016|)
-        char *begin = strchr(socket()->getResponse().ascii(), '(');
+        const char *begin = strchr(socket()->getResponse().ascii(), '(');
         int port;
       
         if (!begin || sscanf(begin, "(|||%d|)", &port) != 1) {
@@ -793,7 +793,7 @@
         
         // Ok PASV command successfull - let's parse the result
         int ip[6];
-        char *begin = strchr(socket()->getResponse().ascii(), '(');
+        const char *begin = strchr(socket()->getResponse().ascii(), '(');
       
         // Some stinky servers don't respect RFC and do it on their own
         if (!begin)
openSUSE Build Service is sponsored by