Changed logging for openfile

This commit is contained in:
Michiel Broek 2002-11-11 21:13:54 +00:00
parent 919b9ed3ba
commit a81d334783

View File

@ -96,7 +96,8 @@ FILE *openfile(char *fname, time_t remtime, off_t remsize, off_t *resofs, int(*r
infpath = xstrcat(infpath, (char *)"/");
infpath = xstrcat(infpath, fname);
if (stat(infpath, &st) == 0) {
Syslog('S', "remtine=%ld, st_time=%ld, remsize=%ld, st_size=%ld", remtime, st.st_mtime, remsize, st.st_size);
/* FIXME: temp normal logging now! */
Syslog('-', "remtine=%ld, st_time=%ld, remsize=%ld, st_size=%ld", remtime, st.st_mtime, remsize, st.st_size);
if ((remtime == st.st_mtime) && (remsize == st.st_size)) {
Syslog('+', "File %s is already here", fname);