Merge branch '4260_ftp_file_month'

* 4260_ftp_file_month:
  Ticket #4260: ftpfs: the month of file is always January.
This commit is contained in:
Andrew Borodin 2021-07-13 21:32:43 +03:00
commit fa9ea0d61c

View File

@ -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;