Ignore the --quiet option if someone sent it to us (which doesn't
authorWayne Davison <wayned@samba.org>
Wed, 1 Feb 2006 19:36:37 +0000 (19:36 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 1 Feb 2006 19:36:37 +0000 (19:36 +0000)
happen when talking to a normal client).

clientserver.c

index 3b1567b..b3d3ceb 100644 (file)
@@ -28,6 +28,7 @@
 #include "rsync.h"
 
 extern int verbose;
+extern int quiet;
 extern int list_only;
 extern int am_sender;
 extern int am_server;
@@ -619,6 +620,7 @@ static int rsync_module(int f_in, int f_out, int i)
 
        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. */
 
        if (filesfrom_fd == 0)
                filesfrom_fd = f_in;