diff options
Diffstat (limited to 'ftp.c')
-rw-r--r-- | ftp.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: ftp.c,v 1.16 2002/12/14 15:18:38 ukai Exp $ */ +/* $Id: ftp.c,v 1.17 2002/12/14 15:26:44 ukai Exp $ */ #include <stdio.h> #include <pwd.h> #include <Str.h> @@ -366,8 +366,7 @@ getFtpModtime(FTP ftp, char *path) tmp = read_response(ftp); if (atoi(tmp->ptr) != 213) return -1; - for (p = tmp->ptr + 4; *p && *p == ' '; p++) - ; + for (p = tmp->ptr + 4; *p && *p == ' '; p++) ; if (sscanf(p, "%04d%02d%02d%02d%02d%02d", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec) < 6) |