s3/rpc_client: cleanup unmarshalling of variant types from row columns
authorNoel Power <noel.power@suse.com>
Wed, 10 Jan 2024 14:43:58 +0000 (14:43 +0000)
committerNoel Power <npower@samba.org>
Tue, 30 Jan 2024 17:22:37 +0000 (17:22 +0000)
commit9b2f2302ee4828ae54f5903a3bf649ffd255fb4a
tree426bd7fd1ed3649cd17402b1afb84d6a4e49042f
parent6ecb614b8ec6953ba15e8061fce9b395615b035a
s3/rpc_client: cleanup unmarshalling of variant types from row columns

Prior to this change fn 'extract_variant_addresses' actually returns offsets
to the variant stored not the addresses, additionally the param in the
signature of the method is named offset where the param in reality is a
base address.
This change makes fn 'extract_variant_addresses' actually return addresses
instead of offsets and also changes the name of the incoming param. The
resulting changes are propaged to callers which hopefully makes what the
code is actually doing a little clearer

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jan 30 17:22:37 UTC 2024 on atb-devel-224
source3/rpc_client/wsp_cli.c