svn commit: samba r4889 - in branches/SAMBA_4_0/source/utils: .
tridge at samba.org
tridge at samba.org
Fri Jan 21 06:58:16 GMT 2005
Author: tridge
Date: 2005-01-21 06:58:16 +0000 (Fri, 21 Jan 2005)
New Revision: 4889
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4889
Log:
make sure ndr print flags are initialised in ndrdump
Modified:
branches/SAMBA_4_0/source/utils/ndrdump.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/ndrdump.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ndrdump.c 2005-01-21 06:56:57 UTC (rev 4888)
+++ branches/SAMBA_4_0/source/utils/ndrdump.c 2005-01-21 06:58:16 UTC (rev 4889)
@@ -205,9 +205,10 @@
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) ||
More information about the samba-cvs
mailing list