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:
parent
bba67890f3
commit
8b2954e58a
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user