libndr: Simplify data flow in ndr_push_relative_ptr2
commit5d19591e756beac70d022cecc6bb5d791ba67655
authorVolker Lendecke <vl@samba.org>
Mon, 30 Sep 2024 10:07:30 +0000 (30 12:07 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 12:09:34 +0000 (12 12:09 +0000)
tree206f7e913079d45bd822e537fed7a15c708deb37
parentb80afa1ca0cd20c9ea17bf0b41e65f707fc6f25e
libndr: Simplify data flow in ndr_push_relative_ptr2

Consolidate saving/replacing ndr->offset right around the push_uint32

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
librpc/ndr/ndr.c