aboutsummaryrefslogtreecommitdiffstats
path: root/ftp.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-14 15:26:44 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-14 15:26:44 +0000
commit021ce52a525a03fbff93ccb810cab85c79720e56 (patch)
treeb67b0ee9db877a99f1e7705bbc6d51797e7f38c3 /ftp.c
parent[w3m-dev 03569] Re: preserve timestamp (diff)
downloadw3m-021ce52a525a03fbff93ccb810cab85c79720e56.tar.gz
w3m-021ce52a525a03fbff93ccb810cab85c79720e56.zip
fix indent
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)