From: Stefan Metzmacher Date: Tue, 5 Jun 2018 02:56:02 +0000 (+0200) Subject: s4:librpc: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in dcerpc_bh_do_ndr_print() X-Git-Tag: tdb-1.4.13~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1768e77f3a0836333cbcc333373b2127690ea5ac;p=thirdparty%2Fsamba.git s4:librpc: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in dcerpc_bh_do_ndr_print() This makes sure the debug class rpc_parse is used for ndr dump output. Signed-off-by: Stefan Metzmacher Reviewed-by: Douglas Bagnall Autobuild-User(master): Douglas Bagnall Autobuild-Date(master): Wed Jan 29 02:11:51 UTC 2025 on atb-devel-224 --- diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 2224186aee2..6da45d94e60 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -558,7 +558,7 @@ static void dcerpc_bh_do_ndr_print(struct dcerpc_binding_handle *h, print_out = true; } - if (DEBUGLEVEL >= 11) { + if (CHECK_DEBUGLVLC(DBGC_RPC_PARSE, 11)) { print_in = true; print_out = true; }