summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-03 15:15:57 +0200
committerVolker Lendecke <vl@samba.org>2008-07-03 15:17:58 +0200
commit962beb287239b525ed4828ae13b85de31448d256 (patch)
tree97576b7c27fcd8a65dc0e0668814b31b5ea312a6 /source3/torture
parent47f1090de77937ad5fece426a04eb7a3406a1284 (diff)
downloadsamba-962beb287239b525ed4828ae13b85de31448d256.tar.gz
samba-962beb287239b525ed4828ae13b85de31448d256.tar.bz2
samba-962beb287239b525ed4828ae13b85de31448d256.zip
Pass NULL to gencache_get when we are not interested in the timeout value
(This used to be commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index d8add208f5..98dd900941 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4933,7 +4933,7 @@ static bool run_local_gencache(int dummy)
return False;
}
- if (!gencache_get("foo", &val, &tm)) {
+ if (!gencache_get("foo", &val, NULL)) {
d_printf("%s: gencache_get() failed\n", __location__);
return False;
}
@@ -4957,7 +4957,7 @@ static bool run_local_gencache(int dummy)
return False;
}
- if (gencache_get("foo", &val, &tm)) {
+ if (gencache_get("foo", &val, NULL)) {
d_printf("%s: gencache_get() on deleted entry "
"succeeded\n", __location__);
return False;