By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1121
Collapse All | Expand All

(-)kio-ftps-0.1.orig/kio_ftps/ftp.cc (-2 / +6 lines)
Lines 20-25 Link Here
20
    Recommended reading explaining FTP details and quirks:
20
    Recommended reading explaining FTP details and quirks:
21
      http://cr.yp.to/ftp.html  (by D.J. Bernstein)
21
      http://cr.yp.to/ftp.html  (by D.J. Bernstein)
22
*/
22
*/
23
// fix type conversion error josswern 23.02.2011
23
24
24
25
25
#define  KIO_FTP_PRIVATE_INCLUDE
26
#define  KIO_FTP_PRIVATE_INCLUDE
Lines 913-919 Link Here
913
  // The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)'
914
  // The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)'
914
  // but anonftpd gives '227 =160,39,200,55,6,245'
915
  // but anonftpd gives '227 =160,39,200,55,6,245'
915
  int i[6];
916
  int i[6];
916
  char *start = strchr(ftpResponse(3), '(');
917
  // fix type conversion error josswern 23.02.2011
918
  const char *start;	// statt char *start 23.02.11
919
  start = strchr(ftpResponse(3), '(');
917
  if ( !start )
920
  if ( !start )
918
    start = strchr(ftpResponse(3), '=');
921
    start = strchr(ftpResponse(3), '=');
919
  if ( !start ||
922
  if ( !start ||
Lines 965-971 Link Here
965
    return ERR_INTERNAL;
968
    return ERR_INTERNAL;
966
  }
969
  }
967
970
968
  char *start = strchr(ftpResponse(3), '|');
971
  // fix type conversion error josswern 23.02.2011
972
  const char *start = strchr(ftpResponse(3), '|');	// statt char *start = strchr(ftpResponse(3), '|'); josswern
969
  if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
973
  if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
970
    return ERR_INTERNAL;
974
    return ERR_INTERNAL;
971
975

Return to bug 1121