Commit 33e9d10d authored by Wayne Davison's avatar Wayne Davison

Use the new lp_max_verbosity() value to limit the server's "verbose"

value.
parent 46f7dc3b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment