From 8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 4 Sep 2013 08:56:23 +0200 Subject: lib: Add a "mem_ctx" arg to gencache_get (unused so far) Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/passdb/account_pol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/passdb') diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c index c94df2961a..14ff946b51 100644 --- a/source3/passdb/account_pol.c +++ b/source3/passdb/account_pol.c @@ -446,7 +446,7 @@ bool cache_account_policy_get(enum pdb_policy_type type, uint32_t *value) goto done; } - if (gencache_get(cache_key, &cache_value, NULL)) { + if (gencache_get(cache_key, NULL, &cache_value, NULL)) { uint32 tmp = strtoul(cache_value, NULL, 10); *value = tmp; ret = True; -- cgit