git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9967907
)
ndr_print: fix the output ndr debug messages only add header line once
author
Stefan Metzmacher
<metze@samba.org>
Sat, 17 Jan 2009 17:13:31 +0000
(18:13 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 19 Jan 2009 06:05:21 +0000
(07:05 +0100)
metze
(from samba4wins tree
e99531aae325e4443fcb917a75dfe4a86b892583
)
librpc/ndr/ndr.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr.c
b/librpc/ndr/ndr.c
index c382abba020605e28f94fc4c094de0116e3f2419..9f7aab3c03d3633b1c1365f9b0c27cc6c4bc95ef 100644
(file)
--- a/
librpc/ndr/ndr.c
+++ b/
librpc/ndr/ndr.c
@@
-211,6
+211,8
@@
_PUBLIC_ void ndr_print_debug(ndr_print_fn_t fn, const char *name, void *ptr)
{
struct ndr_print *ndr;
+ DEBUG(0,(""));
+
ndr = talloc_zero(NULL, struct ndr_print);
if (!ndr) return;
ndr->print = ndr_print_debug_helper;
@@
-227,6
+229,8
@@
_PUBLIC_ void ndr_print_union_debug(ndr_print_fn_t fn, const char *name, uint32_
{
struct ndr_print *ndr;
+ DEBUG(0,(""));
+
ndr = talloc_zero(NULL, struct ndr_print);
if (!ndr) return;
ndr->print = ndr_print_debug_helper;
@@
-244,6
+248,8
@@
_PUBLIC_ void ndr_print_function_debug(ndr_print_function_t fn, const char *name
{
struct ndr_print *ndr;
+ DEBUG(0,(""));
+
ndr = talloc_zero(NULL, struct ndr_print);
if (!ndr) return;
ndr->print = ndr_print_debug_helper;