summaryrefslogtreecommitdiff
path: root/source4/build/pidl/parser.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-02 04:59:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-02 04:59:18 +0000
commit399496d9d9f67a8bae70f98a851aa3b4f30686c2 (patch)
treea57e9de4d76b4bc68df2dea0159587406e9cbb4f /source4/build/pidl/parser.pm
parent9632db5a19f69500f42211fd53cc38bc18991b83 (diff)
downloadsamba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.tar.gz
samba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.tar.bz2
samba-399496d9d9f67a8bae70f98a851aa3b4f30686c2.zip
netr_DatabaseSync() now works fully for databases 0, 1 and 2
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)
Diffstat (limited to 'source4/build/pidl/parser.pm')
-rw-r--r--source4/build/pidl/parser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm
index 1ba1a57cab..02fc40f33f 100644
--- a/source4/build/pidl/parser.pm
+++ b/source4/build/pidl/parser.pm
@@ -309,7 +309,7 @@ sub ParseArrayPull($$$)
}
pidl "\t\t\treturn ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, \"Bad array size %u should be %u\", _array_size, $size);\n";
pidl "\t\t}\n";
- if ($size =~ /r->/) {
+ if ($size =~ /r->in/) {
pidl "else { $size = _array_size; }\n";
}
pidl "\t}\n";