Added "return offset;" to end of generated function.
[kai/samba-autobuild/.git] / source4 / build / pidl / eparser.pm
index 420668109d6692c01164648611d2acc34f0cd23c..3cb71a6c7e008edb8fed1cd89c09bb03d8054931 100644 (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";
 }