svn commit: samba r24983 - in
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR: .
metze at samba.org
metze at samba.org
Thu Sep 6 13:48:05 GMT 2007
Author: metze
Date: 2007-09-06 13:48:01 +0000 (Thu, 06 Sep 2007)
New Revision: 24983
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24983
Log:
setup the correct talloc name for structures used in the generated
server stubs
metze
Modified:
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm 2007-09-06 13:23:24 UTC (rev 24982)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm 2007-09-06 13:48:01 UTC (rev 24983)
@@ -111,7 +111,10 @@
return NT_STATUS_NET_WRITE_FAULT;
}
- *r = talloc_size(mem_ctx, ndr_table_$name.calls[opnum].struct_size);
+ *r = talloc_named(mem_ctx,
+ ndr_table_$name.calls[opnum].struct_size,
+ \"struct %s\",
+ ndr_table_$name.calls[opnum].name);
NT_STATUS_HAVE_NO_MEMORY(*r);
/* unravel the NDR for the packet */
More information about the samba-cvs
mailing list