]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:rpc_client: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) rpccli_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/rpc_client/cli_pipe.c

index 4c70c406dbdeb70901ee22a38b030f269c1501e2..e83d31bd703475fb8f67b6e0d4910f246ab9719e 100644 (file)
@@ -2725,7 +2725,7 @@ static void rpccli_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;
        }