summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-06-16 01:34:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:41 -0500
commit3490e65af5b6990d5b36be4a178fe86f6bfcb2a1 (patch)
treeb320941d1a9f77e273a3364cc2e721593071306f /source4/build/pidl
parent609576605894c4d74f76cda31fb6faedd31ad6d4 (diff)
downloadsamba-3490e65af5b6990d5b36be4a178fe86f6bfcb2a1.tar.gz
samba-3490e65af5b6990d5b36be4a178fe86f6bfcb2a1.tar.bz2
samba-3490e65af5b6990d5b36be4a178fe86f6bfcb2a1.zip
r1158: Fix bug in dissection of array count. Arrays mostly work now with the
exception of a union related bug. (This used to be commit 80f1445507165a4b6805cd346b83fe57e576c71d)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/eparser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index 05ab9a270e..ff325c64f9 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -249,7 +249,7 @@ sub ParseArrayPull($$$)
# non fixed arrays encode the size just before the array
pidl "\t{\n";
pidl "\t\tguint32 _array_size;\n\n";
- pidl "\t\tdissect_ndr_uint32(ndr->tvb, ndr->offset, ndr->pinfo, ndr->tree, ndr->drep, hf_array_size, &_array_size);\n";
+ pidl "\t\tndr_pull_uint32(ndr, hf_array_size, &_array_size);\n";
if ($size =~ /r->in/) {
pidl "\t\t// if (!(ndr->flags & LIBNDR_FLAG_REF_ALLOC) && _array_size != $size) {\n";
} else {