mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch
metze
This commit is contained in:
parent
1c9cf16c95
commit
34b7b552e8
@ -1857,7 +1857,7 @@ sub ParseUnionPullPrimitives($$$$$)
|
||||
if (defined($e->{ALIGN})) {
|
||||
if ($e->{IS_MS_UNION}) {
|
||||
$self->pidl("/* ms_union is always aligned to the largest union arm*/");
|
||||
$self->pidl("NDR_CHECK(ndr_push_align($ndr, $e->{ALIGN}));");
|
||||
$self->pidl("NDR_CHECK(ndr_pull_align($ndr, $e->{ALIGN}));");
|
||||
} else {
|
||||
$self->pidl("NDR_CHECK(ndr_pull_union_align($ndr, $e->{ALIGN}));");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user