summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-22 11:00:07 +0100
committerJeremy Allison <jra@samba.org>2011-02-28 15:54:13 -0800
commitbd2b0076b4ea0be6e2f6730566736be7e338aafc (patch)
treeca2afc00a0f67dde75f7fa0ea70a097059910883 /pidl
parent87c4ceaf7c9ac98a35b5ed3de31191887d609d79 (diff)
downloadsamba-bd2b0076b4ea0be6e2f6730566736be7e338aafc.tar.gz
samba-bd2b0076b4ea0be6e2f6730566736be7e338aafc.tar.bz2
samba-bd2b0076b4ea0be6e2f6730566736be7e338aafc.zip
Revert "Fix alignment issues in SPOOLSS "BUFFER" marshalling."
This reverts commit 187f695469071d0550613e037b36170facb85460. This is the wrong fix. metze
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index eda583e7a8..075ad8516e 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -1281,19 +1281,12 @@ sub ParseStructPushPrimitives($$$$$)
sub ParseStructPushDeferred($$$$)
{
my ($self, $struct, $ndr, $varname, $env) = @_;
-
if (defined($struct->{PROPERTIES}{relative_base})) {
- $self->pidl("NDR_CHECK(ndr_push_align($ndr, $struct->{ALIGN}));");
-
# retrieve the current offset as base for relative pointers
# based on the toplevel struct/union
$self->pidl("NDR_CHECK(ndr_push_setup_relative_base_offset2($ndr, $varname));");
}
$self->ParseElementPush($_, $ndr, $env, 0, 1) foreach (@{$struct->{ELEMENTS}});
-
- if (defined($struct->{PROPERTIES}{relative_base})) {
- $self->pidl("NDR_CHECK(ndr_push_trailer_align($ndr, $struct->{ALIGN}));");
- }
}
#####################################################################