summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-04 08:56:23 +0200
committerJeremy Allison <jra@samba.org>2013-09-05 09:16:23 -0700
commit8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5 (patch)
treeeed73a2a54d2e811e0bbfae2bbb27a5df6d48436 /source3/torture
parentf630360b7ff07ffd2a22f16d50293949860418ca (diff)
downloadsamba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.tar.gz
samba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.tar.bz2
samba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.zip
lib: Add a "mem_ctx" arg to gencache_get (unused so far)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c8
1 files changed, 4 insertions, 4 deletions
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;
}