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

Fix FTP list parsing

This commit is contained in:
Bykov Aleksey 2013-10-26 13:46:17 +03:00 committed by Giuseppe Scrivano
parent 0c9fb2b041
commit bba67890f3
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2013-10-26 Bykov Aleksey <gnfalex@rambler.ru>
* ftp-ls.c (ftp_parse_unix_ls): Fix parsing month name in uppercase
2013-09-09 Tim Ruehsen <tim.ruehsen@gmx.de>
* gnutls.c (ssl_connect_wget): changed checking of option "PFS"

View File

@ -199,7 +199,7 @@ ftp_parse_unix_ls (const char *file, int ignore_perms)
if (next < 0) /* a month name was not encountered */
{
for (i = 0; i < 12; i++)
if (!strcmp (tok, months[i]))
if (!strcasecmp (tok, months[i]))
break;
/* If we got a month, it means the token before it is the
size, and the filename is three tokens away. */