mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1061898 - fix ftp dir listing for windows long dates, r=jduell
This commit is contained in:
parent
9236a64f2d
commit
59f322978b
@ -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