From: Stefan Metzmacher Date: Tue, 5 Jun 2018 02:56:02 +0000 (+0200) Subject: s3:rpc_client: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) rpccli_bh_do_ndr_print X-Git-Tag: tdb-1.4.13~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fcadeb56caea716175a10317b512115b5fe992f;p=thirdparty%2Fsamba.git s3:rpc_client: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) rpccli_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 --- diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 4c70c406dbd..e83d31bd703 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -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; }