]> git.pld-linux.org Git - packages/kdelibs.git/blame - kdelibs-gcc44.patch
- rather const start to "const char"
[packages/kdelibs.git] / kdelibs-gcc44.patch
CommitLineData
6d3abc92
ER
1Upstream URL: https://bugs.kde.org/show_bug.cgi?id=193242
2Signed off by: Elan Ruusamäe <glen@delfi.ee>
a516d5d3
ER
3--- kdelibs-3.5.10/kioslave/ftp/ftp.cc~ 2009-05-19 14:57:21.000000000 +0300
4+++ kdelibs-3.5.10/kioslave/ftp/ftp.cc 2009-05-19 14:57:24.016475767 +0300
6d3abc92 5@@ -876,5 +876,5 @@
a516d5d3
ER
6 // The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)'
7 // but anonftpd gives '227 =160,39,200,55,6,245'
8 int i[6];
9- char *start = strchr(ftpResponse(3), '(');
6d3abc92 10+ const char *start = strchr(ftpResponse(3), '(');
a516d5d3 11 if ( !start )
a516d5d3
ER
12@@ -931,7 +931,7 @@
13 return ERR_INTERNAL;
14 }
15
16- char *start = strchr(ftpResponse(3), '|');
6d3abc92 17+ const char *start = strchr(ftpResponse(3), '|');
a516d5d3
ER
18 if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
19 return ERR_INTERNAL;
20
This page took 0.03183 seconds and 4 git commands to generate.