mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 06:14:18 -04:00
Don't use a bool directly in an int comparison.
This commit is contained in:
1 parent
ff530f04a0
commit
4d51f0db79
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user