Ticket #3185: filezilla-03-strrchr.diff

File filezilla-03-strrchr.diff, 604 bytes (added by nonsea, 17 years ago)

patch for this bug

  • trunk/src/interface/prefix.cpp

     
    372372char *
    373373br_extract_dir (const char *path)
    374374{
    375     char *end, *result;
     375    const char *end;
     376    char *result;
    376377
    377378    br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
    378379
     
    407408char *
    408409br_extract_prefix (const char *path)
    409410{
    410     char *end, *tmp, *result;
     411    const char *end;
     412    char *tmp, *result;
    411413
    412414    br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
    413415