summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-28 16:30:47 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-01-03 01:48:04 +0100
commitb320cc799096fb07870c5e5d6d69d485cb1d1ea5 (patch)
tree9365fdb482836b29ef89a8b349e8998c814c12aa /pidl
parent320fd69923cf4a647869a89453d01acf81f479e0 (diff)
downloadsamba-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.pm6
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}));");