1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix FTP list parsing & Fix cookies reject

This commit is contained in:
Bykov Aleksey 2013-10-26 13:50:37 +03:00 committed by Giuseppe Scrivano
parent bba67890f3
commit 8b2954e58a
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
2013-10-26 Bykov Aleksey <gnfalex@rambler.ru>
* utils.c (match_tail): Fix cookies reject
* ftp-ls.c (ftp_parse_unix_ls): Fix parsing month name in uppercase
2013-09-09 Tim Ruehsen <tim.ruehsen@gmx.de>

View File

@ -1024,9 +1024,9 @@ match_tail (const char *string, const char *tail, bool fold_case)
return false; /* tail is longer than string. */
if (!fold_case)
return strcmp (string + pos, tail);
return !strcmp (string + pos, tail);
else
return strcasecmp (string + pos, tail);
return !strcasecmp (string + pos, tail);
}
/* Checks whether string S matches each element of ACCEPTS. A list