Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9459290
)
Made the new option-twiddling message only output when verbose.
author
Wayne Davison
<wayned@samba.org>
Sat, 24 Jul 2004 16:51:16 +0000
(16:51 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 24 Jul 2004 16:51:16 +0000
(16:51 +0000)
batch.c
patch
|
blob
|
blame
|
history
diff --git
a/batch.c
b/batch.c
index
4c91f82
..
bd86ab5
100644
(file)
--- a/
batch.c
+++ b/
batch.c
@@
-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;
}
}