diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-05-15 08:34:42 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-05-15 22:19:38 +0200 |
commit | d1278f081bbb1e3e9904450916993712eff2d9df (patch) | |
tree | c0f465f73822664e1a994c341b0c1e043a39ecdb /pidl | |
parent | 4602c86d58d0c7c37922a56bd4a3bfd9beb5a971 (diff) | |
download | samba-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.pm | 2 |
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"; } |