summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-21 06:58:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:03 -0500
commit23478fe0ca6a235d3fd9168f3676f63bde5e1a7e (patch)
tree1dc8a496e827b7973948f0aec8d8584d1be17c36 /source4/utils
parentbef3fbb6dbe48bfc65ae00ed9a0a52575494ca40 (diff)
downloadsamba-23478fe0ca6a235d3fd9168f3676f63bde5e1a7e.tar.gz
samba-23478fe0ca6a235d3fd9168f3676f63bde5e1a7e.tar.bz2
samba-23478fe0ca6a235d3fd9168f3676f63bde5e1a7e.zip
r4889: make sure ndr print flags are initialised in ndrdump
(This used to be commit c5c65ad8fb21e515535286c52847f3eb990f8036)
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/ndrdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c
index 99bf1bfe81..1eed604126 100644
--- a/source4/utils/ndrdump.c
+++ b/source4/utils/ndrdump.c
@@ -205,9 +205,10 @@ static void show_functions(const struct dcerpc_interface_table *p)
dump_data(0, ndr->data+ndr->offset, ndr->data_size - ndr->offset);
}
- pr = talloc_p(NULL, struct ndr_print);
+ pr = talloc(NULL, struct ndr_print);
pr->print = ndr_print_debug_helper;
pr->depth = 1;
+ pr->flags = 0;
f->ndr_print(pr, function, flags, st);
if (!NT_STATUS_IS_OK(status) ||