summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-06-01 08:04:40 +0000
committerWayne Davison <wayned@samba.org>2006-06-01 08:04:40 +0000
commit1925c3448cc67ad17ac66ef809b275a3a3034c02 (patch)
tree13da3946c532aedf76652c04bbc552017d2e1e1d /rsync.c
parent19b8587654616db0b1a90de7d596ccafd882df19 (diff)
downloadrsync-1925c3448cc67ad17ac66ef809b275a3a3034c02.tar.gz
rsync-1925c3448cc67ad17ac66ef809b275a3a3034c02.tar.bz2
rsync-1925c3448cc67ad17ac66ef809b275a3a3034c02.zip
- Got rid of the FNAME logcode enum.
- We no longer output " is uptodate" messages to the log file.
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/rsync.c b/rsync.c
index fec27c1c..dcf984ce 100644
--- a/rsync.c
+++ b/rsync.c
@@ -218,11 +218,10 @@ int set_file_attrs(char *fname, struct file_struct *file, STRUCT_STAT *st,
#endif
if (verbose > 1 && flags & ATTRS_REPORT) {
- enum logcode code = logfile_format_has_i || dry_run ? FCLIENT : FINFO;
if (updated)
- rprintf(code, "%s\n", fname);
+ rprintf(FCLIENT, "%s\n", fname);
else
- rprintf(code, "%s is uptodate\n", fname);
+ rprintf(FCLIENT, "%s is uptodate\n", fname);
}
return updated;
}