mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-14 20:37:40 -04:00
Use the new lp_max_verbosity() value to limit the server's "verbose"
value.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user