From 33e9d10d2a69a625be4746a166f3fe319b05b757 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 4 Feb 2004 07:32:12 +0000 Subject: [PATCH] Use the new lp_max_verbosity() value to limit the server's "verbose" value. --- clientserver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.34.1