1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +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,\
\tpacket_info *pinfo, proto_tree *tree, int flags, char *name)\n{\n";
ParseType($typedef->{DATA});
$res .= "\treturn offset;\n";
$res .= "}\n\n";
}