1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +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 commit is contained in:
Tim Potter -
parent e35c62267f
commit 23a9812987

View File

@ -225,6 +225,7 @@ sub ParseTypedef($)
$res .= "static int prs_$typedef->{NAME}(tvbuff_t *tvb, int offset,\ $res .= "static int prs_$typedef->{NAME}(tvbuff_t *tvb, int offset,\
\tpacket_info *pinfo, proto_tree *tree, int flags, char *name)\n{\n"; \tpacket_info *pinfo, proto_tree *tree, int flags, char *name)\n{\n";
ParseType($typedef->{DATA}); ParseType($typedef->{DATA});
$res .= "\treturn offset;\n";
$res .= "}\n\n"; $res .= "}\n\n";
} }