]> sjero.net Git - wget/blobdiff - src/ftp-ls.c
Fix FTP list parsing
[wget] / src / ftp-ls.c
index 28e32c4a44c9d6efce555a25a1c442bed553f6a1..1039a43d88d144642ab94cd455fcbd1c48dc8293 100644 (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.  */