fix indent

This commit is contained in:
Fumitoshi UKAI committed 2002-12-14 15:26:44 +00:00
1 parent 4a9e9df295
commit 021ce52a52
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: display.c,v 1.46 2002/12/13 02:19:01 ukai Exp $ */
/* $Id: display.c,v 1.47 2002/12/14 15:26:44 ukai Exp $ */
#include <signal.h>
#include "fm.h"
+3 -2
View File
@@ -1,4 +1,4 @@
/* $Id: file.c,v 1.161 2002/12/14 15:24:03 ukai Exp $ */
/* $Id: file.c,v 1.162 2002/12/14 15:26:44 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -1898,7 +1898,8 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
if (PreserveTimestamp && !stat(pu.real_file, &st))
f.modtime = st.st_mtime;
file = conv_from_system(guess_save_name(NULL, pu.real_file));
} else
}
else
file = guess_save_name(t_buf, pu.file);
doFileSave(f, file);
if (f.scheme == SCM_FTP)
+2 -3
View File
@@ -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)