]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:lib/messaging: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in irpc_bh_do_ndr_...
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 01:14:40 +0000 (01:14 +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>
source4/lib/messaging/messaging.c

index 6e9c644b9bb8ca8704bc7237404eb95443726c68..06adc19c89940feb562c41d4ad84bff9210e1548 100644 (file)
@@ -1434,7 +1434,7 @@ static void irpc_bh_do_ndr_print(struct dcerpc_binding_handle *h,
        bool print_in = false;
        bool print_out = false;
 
-       if (DEBUGLEVEL >= 11) {
+       if (CHECK_DEBUGLVLC(DBGC_RPC_PARSE, 11)) {
                print_in = true;
                print_out = true;
        }