git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d13a2f
)
We only need to send --stats to a remote receiver now.
author
Wayne Davison
<wayned@samba.org>
Thu, 29 Jan 2009 07:41:17 +0000
(23:41 -0800)
committer
Wayne Davison
<wayned@samba.org>
Fri, 30 Jan 2009 16:45:54 +0000
(08:45 -0800)
options.c
patch
|
blob
|
history
diff --git
a/options.c
b/options.c
index 2f95992b75d13cccb8e7b4f2d81d1da8920a9ba6..5f8018fec96f6bb166476a607542c708414ae5d2 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-2368,9
+2368,6
@@
void server_options(char **args, int *argc_p)
if (protect_args && !local_server) /* unprotected args stop here */
args[ac++] = NULL;
if (protect_args && !local_server) /* unprotected args stop here */
args[ac++] = NULL;
- if (do_stats)
- args[ac++] = "--stats";
-
if (list_only > 1)
args[ac++] = "--list-only";
if (list_only > 1)
args[ac++] = "--list-only";
@@
-2472,6
+2469,8
@@
void server_options(char **args, int *argc_p)
args[ac++] = "--super";
if (size_only)
args[ac++] = "--size-only";
args[ac++] = "--super";
if (size_only)
args[ac++] = "--size-only";
+ if (do_stats)
+ args[ac++] = "--stats";
} else {
if (skip_compress) {
if (asprintf(&arg, "--skip-compress=%s", skip_compress) < 0)
} else {
if (skip_compress) {
if (asprintf(&arg, "--skip-compress=%s", skip_compress) < 0)