From 4a5c2bfec1e4f3aefa4b89cf9f1e16106116b2fd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Sep 2017 16:27:07 +1200 Subject: Use the rpc_parse debug class for PIDL genrated code This means that the default print binding string qualifier will now go via this debug class as will explicit calls to ndr_print_debug() and ndr_print_union_debug(). Calls to ndr_print_debugc() are not changed. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- librpc/ndr/ndr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'librpc') diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index 0f55cf97887..d478eb69c01 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -31,6 +31,9 @@ #include "librpc/ndr/libndr.h" #include "../lib/util/dlinklist.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_RPC_PARSE + #define NDR_BASE_MARSHALL_SIZE 1024 /* this guid indicates NDR encoding in a protocol tower */ -- cgit v1.2.1