svn commit: samba r17889 - in
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR: .
metze at samba.org
metze at samba.org
Mon Aug 28 17:18:43 GMT 2006
Author: metze
Date: 2006-08-28 17:18:41 +0000 (Mon, 28 Aug 2006)
New Revision: 17889
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17889
Log:
allocate a valid element where the pointer can point to,
fix c++ warnings
metze
Modified:
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm 2006-08-28 17:17:39 UTC (rev 17888)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm 2006-08-28 17:18:41 UTC (rev 17889)
@@ -1122,7 +1122,7 @@
# We allocate an array twice
# - once just to indicate that it's there,
# - then the real allocation...
- pidl "NDR_PULL_ALLOC_SIZE($ndr, $var_name, 1);";
+ pidl "NDR_PULL_ALLOC($ndr, $var_name);";
}
#pidl "memset($var_name, 0, sizeof($var_name));";
More information about the samba-cvs
mailing list