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/torture/torture.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index b18dd99f5c..f2446d1e34 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -8130,12 +8130,12 @@ static bool run_local_gencache(int dummy) return False; } - if (!gencache_get("foo", NULL, NULL)) { + if (!gencache_get("foo", NULL, NULL, NULL)) { d_printf("%s: gencache_get() failed\n", __location__); return False; } - if (!gencache_get("foo", &val, &tm)) { + if (!gencache_get("foo", NULL, &val, &tm)) { d_printf("%s: gencache_get() failed\n", __location__); return False; } @@ -8159,7 +8159,7 @@ static bool run_local_gencache(int dummy) return False; } - if (gencache_get("foo", &val, &tm)) { + if (gencache_get("foo", NULL, &val, &tm)) { d_printf("%s: gencache_get() on deleted entry " "succeeded\n", __location__); return False; @@ -8212,7 +8212,7 @@ static bool run_local_gencache(int dummy) __location__); return false; } - if (gencache_get("blob", &val, &tm)) { + if (gencache_get("blob", NULL, &val, &tm)) { d_printf("%s: gencache_get succeeded\n", __location__); return false; } -- cgit