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:
parent
0c9fb2b041
commit
bba67890f3
@ -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>
|
2013-09-09 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* gnutls.c (ssl_connect_wget): changed checking of option "PFS"
|
* gnutls.c (ssl_connect_wget): changed checking of option "PFS"
|
||||||
|
@ -199,7 +199,7 @@ ftp_parse_unix_ls (const char *file, int ignore_perms)
|
|||||||
if (next < 0) /* a month name was not encountered */
|
if (next < 0) /* a month name was not encountered */
|
||||||
{
|
{
|
||||||
for (i = 0; i < 12; i++)
|
for (i = 0; i < 12; i++)
|
||||||
if (!strcmp (tok, months[i]))
|
if (!strcasecmp (tok, months[i]))
|
||||||
break;
|
break;
|
||||||
/* If we got a month, it means the token before it is the
|
/* If we got a month, it means the token before it is the
|
||||||
size, and the filename is three tokens away. */
|
size, and the filename is three tokens away. */
|
||||||
|
Loading…
Reference in New Issue
Block a user