From: Wayne Davison Date: Thu, 29 Jan 2009 07:41:17 +0000 (-0800) Subject: We only need to send --stats to a remote receiver now. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/dc6fb11b41daf37f1d47acde51b2a088e2892d0c We only need to send --stats to a remote receiver now. --- diff --git a/options.c b/options.c index 2f95992b..5f8018fe 100644 --- 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 (do_stats) - args[ac++] = "--stats"; - 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"; + if (do_stats) + args[ac++] = "--stats"; } else { if (skip_compress) { if (asprintf(&arg, "--skip-compress=%s", skip_compress) < 0)