lib: Pass blob instead of &blob to gencache_set_data_blob
authorVolker Lendecke <vl@samba.org>
Wed, 2 Aug 2017 15:52:40 +0000 (17:52 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 24 May 2018 10:50:13 +0000 (12:50 +0200)
commitafcffa9e1b022e5e6b0aa74ddb5b76ed4d43ddae
treec3e8c7f403c6bf25f515d108dbf049cd1dc84292
parent18664edf162e3a660e67934c515220c696c73774
lib: Pass blob instead of &blob to gencache_set_data_blob

Passing a whole DATA_BLOB is cheap enough to simplify the callers: A caller
does not have to create a separate variable.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13369

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/gencache.c
source3/lib/gencache.h
source3/libsmb/dsgetdcname.c
source3/torture/torture.c
source3/winbindd/wb_dsgetdcname.c