aboutsummaryrefslogtreecommitdiffstats
path: root/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftp.c b/ftp.c
index 47c7fd0..613a9a1 100644
--- a/ftp.c
+++ b/ftp.c
@@ -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)