summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-05-15 08:34:42 +0200
committerJeremy Allison <jra@samba.org>2015-05-15 22:19:38 +0200
commitd1278f081bbb1e3e9904450916993712eff2d9df (patch)
treec0f465f73822664e1a994c341b0c1e043a39ecdb /pidl
parent4602c86d58d0c7c37922a56bd4a3bfd9beb5a971 (diff)
downloadsamba-d1278f081bbb1e3e9904450916993712eff2d9df.tar.gz
pidl:Samba3/ServerNDR: normalize {RETURN_TYPE} by using mapTypeName()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri May 15 22:19:38 CEST 2015 on sn-devel-104
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index e8d2bf9c574..bff23e2747c 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -124,7 +124,7 @@ sub CallWithStruct($$$$)
if ($fn->{RETURN_TYPE}) {
$ret = "r->out.result = $ret";
- $proto = "$fn->{RETURN_TYPE} $proto";
+ $proto = mapTypeName($fn->{RETURN_TYPE})." $proto";
} else {
$proto = "void $proto";
}