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:
ff530f0
)
Don't use a bool directly in an int comparison.
author
Wayne Davison
<wayned@samba.org>
Fri, 13 Oct 2006 06:27:59 +0000
(06:27 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 13 Oct 2006 06:27:59 +0000
(06:27 +0000)
options.c
patch
|
blob
|
blame
|
history
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)