From: Wayne Davison Date: Wed, 4 Feb 2004 07:32:12 +0000 (+0000) Subject: Use the new lp_max_verbosity() value to limit the server's "verbose" X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/33e9d10d2a69a625be4746a166f3fe319b05b757 Use the new lp_max_verbosity() value to limit the server's "verbose" value. --- diff --git a/clientserver.c b/clientserver.c index a2bbfe87..1b391ec9 100644 --- a/clientserver.c +++ b/clientserver.c @@ -457,7 +457,8 @@ static int rsync_module(int f_in, int f_out, int i) #ifndef DEBUG /* don't allow the logs to be flooded too fast */ - if (verbose > 1) verbose = 1; + if (verbose > lp_max_verbosity()) + verbose = lp_max_verbosity(); #endif if (protocol_version < 23) {