From: Bykov Aleksey Date: Sat, 26 Oct 2013 10:46:17 +0000 (+0300) Subject: Fix FTP list parsing X-Git-Tag: v1.15~14 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=bba67890f381a0fd3222fc5763b742d1520746c3 Fix FTP list parsing --- diff --git a/src/ChangeLog b/src/ChangeLog index 23c210b0..13b6f644 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,6 @@ +2013-10-26 Bykov Aleksey + * ftp-ls.c (ftp_parse_unix_ls): Fix parsing month name in uppercase + 2013-09-09 Tim Ruehsen * gnutls.c (ssl_connect_wget): changed checking of option "PFS" diff --git a/src/ftp-ls.c b/src/ftp-ls.c index 28e32c4a..1039a43d 100644 --- a/src/ftp-ls.c +++ b/src/ftp-ls.c @@ -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. */