]> git.pld-linux.org Git - packages/kde4-kde3support.git/blob - kdelibs-gcc4.patch
- a typo in the crystalsvg index.theme file fixed to get rid of the annoying
[packages/kde4-kde3support.git] / kdelibs-gcc4.patch
1 --- kdelibs-3.5.10/kioslave/ftp/ftp.cc~ 2008-08-19 20:18:12.000000000 +0200
2 +++ kdelibs-3.5.10/kioslave/ftp/ftp.cc  2009-07-04 00:25:31.109366056 +0200
3 @@ -876,9 +876,9 @@
4    // The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)'
5    // but anonftpd gives '227 =160,39,200,55,6,245'
6    int i[6];
7 -  char *start = strchr(ftpResponse(3), '(');
8 +  char *start = strchr((char *)ftpResponse(3), '(');
9    if ( !start )
10 -    start = strchr(ftpResponse(3), '=');
11 +    start = strchr((char *)ftpResponse(3), '=');
12    if ( !start ||
13         ( sscanf(start, "(%d,%d,%d,%d,%d,%d)",&i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6 &&
14           sscanf(start, "=%d,%d,%d,%d,%d,%d", &i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6 ) )
15 @@ -931,7 +931,7 @@
16      return ERR_INTERNAL;
17    }
18  
19 -  char *start = strchr(ftpResponse(3), '|');
20 +  char *start = strchr((char *)ftpResponse(3), '|');
21    if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
22      return ERR_INTERNAL;
23  
This page took 0.027704 seconds and 3 git commands to generate.