mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1061898 - fix ftp dir listing for windows long dates, r=jduell
This commit is contained in:
parent
0f082bced5
commit
01cfcfb2a8
@ -723,7 +723,7 @@ int ParseFTPList(const char *line, struct list_state *state,
|
||||
* "07-21-00 01:19PM 52275 Name Plate.jpg"
|
||||
* "07-14-00 01:38PM 2250540 Valentineoffprank-HiRes.jpg"
|
||||
*/
|
||||
if ((numtoks >= 4) && toklen[0] == 8 && toklen[1] == 7 &&
|
||||
if ((numtoks >= 4) && (toklen[0] == 8 || toklen[0] == 10) && toklen[1] == 7 &&
|
||||
(*tokens[2] == '<' || isdigit(*tokens[2])) )
|
||||
{
|
||||
p = tokens[0];
|
||||
|
Loading…
Reference in New Issue
Block a user