From: Stefan Metzmacher Date: Tue, 5 Jun 2018 02:56:02 +0000 (+0200) Subject: s3:winbindd: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in wbint_bh_do_ndr_print() X-Git-Tag: tdb-1.4.13~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22de6ae43e85cfa19080ade96785a6c8cc8eb312;p=thirdparty%2Fsamba.git s3:winbindd: make use of CHECK_DEBUGLVLC(DBGC_RPC_PARSE, ...) in wbint_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/winbindd/winbindd_dual_ndr.c b/source3/winbindd/winbindd_dual_ndr.c index 4fd7fb7c8c3..0b44dbedb08 100644 --- a/source3/winbindd/winbindd_dual_ndr.c +++ b/source3/winbindd/winbindd_dual_ndr.c @@ -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; }