]> git.ipfire.org Git - thirdparty/samba.git/commit
libndr: Simplify ndr_token_retrieve_cmp_fn()
authorVolker Lendecke <vl@samba.org>
Wed, 28 Aug 2024 10:08:57 +0000 (12:08 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 29 Aug 2024 07:22:34 +0000 (07:22 +0000)
commitf43ae1ab1a8803d8c5ad4e5f3dad63ccbe91aa54
treee82d42b518c5f8be1cf110d52421e6b9f9ec051a
parent56c48154028207a831242fe6f4ca28fb64b60faf
libndr: Simplify ndr_token_retrieve_cmp_fn()

Avoid an if-statement inside by passing a pointer-comparing function

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jennifer Sutton <josutton@catalyst.net.nz>
librpc/ndr/ndr.c