lib/util: call tevent_set_max_debug_level() in samba_tevent_set_debug()
authorStefan Metzmacher <metze@samba.org>
Tue, 31 Jan 2023 15:25:40 +0000 (16:25 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Jul 2023 08:02:33 +0000 (08:02 +0000)
commit0031a102c3d7b21a4fe51198db9362251970a83d
tree4ca396b990243ece27372bccc5ea3bb9091b9c41
parent6a80d170bca0c938f78ab12e37481b52792a9d83
lib/util: call tevent_set_max_debug_level() in samba_tevent_set_debug()

This means samba_tevent_debug() is only called when needed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/util/tevent_debug.c