1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

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)
This commit is contained in:
Tim Potter 2001-12-10 20:43:59 +00:00
parent 7ab4731cd9
commit 4d1f9d1def

View File

@ -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";
}