]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:librpc: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in dcerpc_bh_do_ndr_print()
authorStefan Metzmacher <metze@samba.org>
Tue, 5 Jun 2018 02:56:02 +0000 (04:56 +0200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 29 Jan 2025 02:11:51 +0000 (02:11 +0000)
This makes sure the debug class rpc_parse is used for ndr dump output.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Jan 29 02:11:51 UTC 2025 on atb-devel-224

source4/librpc/rpc/dcerpc.c

index 2224186aee235de34bbb68faf866537254410bde..6da45d94e608a7281bdc6eb364eb85551f002b30 100644 (file)
@@ -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;
        }