summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-10 20:43:59 +0000
committerTim Potter <tpot@samba.org>2001-12-10 20:43:59 +0000
commit4d1f9d1def5bf5fea64722626028d94da49c654c (patch)
tree9534fd3e6ce3ad49d333067743dd4347c4cddf63 /source4
parent7ab4731cd9f9fc174f3a8ff668dae66af010d861 (diff)
downloadsamba-4d1f9d1def5bf5fea64722626028d94da49c654c.tar.gz
samba-4d1f9d1def5bf5fea64722626028d94da49c654c.tar.bz2
samba-4d1f9d1def5bf5fea64722626028d94da49c654c.zip
Added "return offset;" to end of generated function.
We're getting really close now! Ethereal can properly decode OpenPolicy requests and responses using pidl generated code. QueryInfoPolicy is nearly working. (This used to be commit 23a9812987bad6fcf7bf131eafd2bf39d558eeb5)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/pidl/eparser.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm
index 420668109d..3cb71a6c7e 100644
--- a/source4/build/pidl/eparser.pm
+++ b/source4/build/pidl/eparser.pm
@@ -225,6 +225,7 @@ sub ParseTypedef($)
$res .= "static int prs_$typedef->{NAME}(tvbuff_t *tvb, int offset,\
\tpacket_info *pinfo, proto_tree *tree, int flags, char *name)\n{\n";
ParseType($typedef->{DATA});
+ $res .= "\treturn offset;\n";
$res .= "}\n\n";
}