diff options
author | Wayne Davison <wayned@samba.org> | 2004-07-24 16:51:16 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-07-24 16:51:16 +0000 |
commit | 6a48e792c1c5d82c62498502e3f98f67acc716f0 (patch) | |
tree | aa4935c1151473c57b010bea97307e60b1815b47 /batch.c | |
parent | 9459290ae798f52b34c569045af8b8655c31308e (diff) | |
download | android_external_rsync-6a48e792c1c5d82c62498502e3f98f67acc716f0.tar.gz android_external_rsync-6a48e792c1c5d82c62498502e3f98f67acc716f0.tar.bz2 android_external_rsync-6a48e792c1c5d82c62498502e3f98f67acc716f0.zip |
Made the new option-twiddling message only output when verbose.
Diffstat (limited to 'batch.c')
-rw-r--r-- | batch.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -64,9 +64,11 @@ void read_stream_flags(int fd) for (i = 0, flags = read_int(fd); flag_ptr[i]; i++) { int set = flags & (1 << i) ? 1 : 0; if (*flag_ptr[i] != set) { - rprintf(FINFO, - "%sing the %s option to match the batchfile.\n", - set ? "Sett" : "Clear", flag_name[i]); + if (verbose) { + rprintf(FINFO, + "%sing the %s option to match the batchfile.\n", + set ? "Sett" : "Clear", flag_name[i]); + } *flag_ptr[i] = set; } } |