diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-28 16:30:47 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-01-03 01:48:04 +0100 |
commit | b320cc799096fb07870c5e5d6d69d485cb1d1ea5 (patch) | |
tree | 9365fdb482836b29ef89a8b349e8998c814c12aa /pidl | |
parent | 320fd69923cf4a647869a89453d01acf81f479e0 (diff) | |
download | samba-b320cc799096fb07870c5e5d6d69d485cb1d1ea5.tar.gz samba-b320cc799096fb07870c5e5d6d69d485cb1d1ea5.tar.bz2 samba-b320cc799096fb07870c5e5d6d69d485cb1d1ea5.zip |
Fix some formatting.
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm index 732aa981dc..5802f9b393 100644 --- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm +++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm @@ -206,11 +206,11 @@ sub ParseArrayPushHeader($$$$$$) if ((!$l->{IS_SURROUNDING}) and $l->{IS_CONFORMANT}) { $self->pidl("NDR_CHECK(ndr_push_uint3264($ndr, NDR_SCALARS, $size));"); } - + if ($l->{IS_VARYING}) { $self->pidl("NDR_CHECK(ndr_push_uint3264($ndr, NDR_SCALARS, 0));"); # array offset $self->pidl("NDR_CHECK(ndr_push_uint3264($ndr, NDR_SCALARS, $length));"); - } + } return $length; } @@ -1194,7 +1194,7 @@ sub ParsePtrPull($$$$$) $self->pidl("\tNDR_PULL_ALLOC($ndr, $var_name);"); $self->pidl("}"); } - + return; } elsif ($l->{POINTER_TYPE} eq "ref" and $l->{LEVEL} eq "EMBEDDED") { $self->pidl("NDR_CHECK(ndr_pull_ref_ptr($ndr, &_ptr_$e->{NAME}));"); |