summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-11 17:44:25 +0200
committerVolker Lendecke <vl@samba.org>2008-07-11 17:53:25 +0200
commitd3def9a18cc701573530154ed420278f007f06a3 (patch)
treea69446c4eb869be0174120dcd66becbf8221005c /source3/torture
parentcc78ea5d09f2d8e338f0626fb1215f06ee7e1bbe (diff)
downloadsamba-d3def9a18cc701573530154ed420278f007f06a3.tar.gz
samba-d3def9a18cc701573530154ed420278f007f06a3.tar.bz2
samba-d3def9a18cc701573530154ed420278f007f06a3.zip
Revert "Pass NULL to gencache_get when we are not interested in the timeout value"
This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0. (This used to be commit 114ca8577568cdb5a81d8734f1d1d096f1b36c36)
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 98dd900941..d8add208f5 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, NULL)) {
+ if (!gencache_get("foo", &val, &tm)) {
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, NULL)) {
+ if (gencache_get("foo", &val, &tm)) {
d_printf("%s: gencache_get() on deleted entry "
"succeeded\n", __location__);
return False;