Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use a bool directly in an int comparison.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
a568643
..
05df91e
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1499,7
+1499,7
@@
void server_options(char **args,int *argc)
argstr[x++] = 'n';
if (preserve_links)
argstr[x++] = 'l';
- if (xfer_dirs > (recurse || !delete_mode || !am_sender))
+ if (xfer_dirs > (recurse || !delete_mode || !am_sender
? 1 : 0
))
argstr[x++] = 'd';
if (am_sender) {
if (keep_dirlinks)