aboutsummaryrefslogtreecommitdiffstats
path: root/rsync.c
diff options
context:
space:
mode:
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;
}