diff options
author | Jeremy Allison <jra@samba.org> | 2008-11-19 15:06:05 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-11-19 15:06:05 -0800 |
commit | 804e63909bc3c9e4e2ca67f67eb56a1422f85fba (patch) | |
tree | 32a567b8ecfbafbe5938fd9a99a3565c2eeb77e6 /pidl | |
parent | 31a8c4df1305b63729e49a61e27bc9e1825af0d0 (diff) | |
parent | f9d691d9d808ec2f91f3f469fe2201b0909a8552 (diff) | |
download | samba-804e63909bc3c9e4e2ca67f67eb56a1422f85fba.tar.gz samba-804e63909bc3c9e4e2ca67f67eb56a1422f85fba.tar.bz2 samba-804e63909bc3c9e4e2ca67f67eb56a1422f85fba.zip |
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index e5d8f1c1d2..eb3cdf20cb 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -142,6 +142,13 @@ sub ParseFunction($$) my @dir = @{$_->{DIRECTION}}; if (grep(/in/, @dir) and grep(/out/, @dir)) { pidl "r->out.$_->{NAME} = r->in.$_->{NAME};"; + } + } + + foreach (@{$fn->{ELEMENTS}}) { + my @dir = @{$_->{DIRECTION}}; + if (grep(/in/, @dir) and grep(/out/, @dir)) { + # noop } elsif (grep(/out/, @dir) and not has_property($_, "represent_as")) { AllocOutVar($_, "r", "r->out.$_->{NAME}", $env); |