mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #4260: ftpfs: the month of file is always January.
(parse_ls_line): fix test of vfs_parse_month() value. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
0c04e23821
commit
36e48b04bd
@ -356,7 +356,7 @@ parse_ls_line (char *line, struct stat *s, char **filename, char **linkname)
|
||||
|
||||
memset (&date, 0, sizeof (date));
|
||||
|
||||
if (vfs_parse_month (t, &date))
|
||||
if (!vfs_parse_month (t, &date))
|
||||
date.tm_mon = 0;
|
||||
|
||||
day_of_month = NEXT_TOKEN_R;
|
||||
|
Loading…
Reference in New Issue
Block a user