No need to reset quiet, since we tell parse_arguments() that it
authorWayne Davison <wayned@samba.org>
Mon, 23 Apr 2007 18:40:00 +0000 (18:40 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 23 Apr 2007 18:40:00 +0000 (18:40 +0000)
should prevent quiet from getting set.

clientserver.c

index fdd19cc..95c1601 100644 (file)
@@ -625,8 +625,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
 
        verbose = 0; /* future verbosity is controlled by client options */
        ret = parse_arguments(&argc, (const char ***) &argv, 0);
-       quiet = 0; /* Don't let someone try to be tricky. */
-       am_server = 1; /* ditto */
+       am_server = 1; /* Don't let someone try to be tricky. */
        if (lp_ignore_errors(module_id))
                ignore_errors = 1;