]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbindd: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in wbint_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 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>
source3/winbindd/winbindd_dual_ndr.c

index 4fd7fb7c8c3971399e5fe35b34ed12a48cf3f627..0b44dbedb085c229e002b160a7d5fc304578909f 100644 (file)
@@ -302,7 +302,7 @@ static void wbint_bh_do_ndr_print(struct dcerpc_binding_handle *h,
 {
        void *struct_ptr = discard_const(_struct_ptr);
 
-       if (DEBUGLEVEL < 10) {
+       if (!CHECK_DEBUGLVLC(DBGC_RPC_PARSE, 10)) {
                return;
        }