diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-09-06 16:27:07 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-09-07 06:56:27 +0200 |
commit | 4a5c2bfec1e4f3aefa4b89cf9f1e16106116b2fd (patch) | |
tree | b2cae1f6db6b0c171236056b1b6c74c12dda2cb1 | |
parent | e3988f8f74f4a11e8f26a548e0a33d20f4e863f7 (diff) | |
download | samba-4a5c2bfec1e4f3aefa4b89cf9f1e16106116b2fd.tar.gz |
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 <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-rw-r--r-- | librpc/ndr/ndr.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |