git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35c622
)
Added "return offset;" to end of generated function.
author
Tim Potter
<tpot@samba.org>
Mon, 10 Dec 2001 20:43:59 +0000
(20:43 +0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 10 Dec 2001 20:43:59 +0000
(20:43 +0000)
We're getting really close now! Ethereal can properly decode OpenPolicy
requests and responses using pidl generated code. QueryInfoPolicy
is nearly working.
source/build/pidl/eparser.pm
patch
|
blob
|
history
diff --git
a/source/build/pidl/eparser.pm
b/source/build/pidl/eparser.pm
index 420668109d6692c01164648611d2acc34f0cd23c..3cb71a6c7e008edb8fed1cd89c09bb03d8054931 100644
(file)
--- a/
source/build/pidl/eparser.pm
+++ b/
source/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";
}