diff options
Diffstat (limited to 'source4/build/pidl/parser.pm')
-rw-r--r-- | source4/build/pidl/parser.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm index 050ebdda02..1d3e772298 100644 --- a/source4/build/pidl/parser.pm +++ b/source4/build/pidl/parser.pm @@ -825,6 +825,9 @@ sub ParseFunctionPrint($) ParseElementPrintScalar($e, "r->out."); } } + if ($fn->{RETURN_TYPE} && $fn->{RETURN_TYPE} ne "void") { + $res .= "\tndr_print_$fn->{RETURN_TYPE}(ndr, \"result\", &r->out.result);\n"; + } $res .= "\tndr->depth--;\n"; $res .= "\t}\n"; |