From 76d95b9a2dcfff9df1865ffff74f0e9c32bce609 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 23 Sep 2009 15:21:40 +0200 Subject: s3:gencache: Add a "was_expired" argument to gencache_get_data_blob This is set to true if the routine returns failure due to an existing but expired entry. --- source3/torture/torture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 98694ed3d0..9e1ac7648e 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -5863,7 +5863,7 @@ static bool run_local_gencache(int dummy) return False; } - if (!gencache_get_data_blob("foo", &blob, NULL)) { + if (!gencache_get_data_blob("foo", &blob, NULL, NULL)) { d_printf("%s: gencache_get_data_blob() failed\n", __location__); return False; } @@ -5887,7 +5887,7 @@ static bool run_local_gencache(int dummy) return False; } - if (gencache_get_data_blob("foo", &blob, NULL)) { + if (gencache_get_data_blob("foo", &blob, NULL, NULL)) { d_printf("%s: gencache_get_data_blob() on deleted entry " "succeeded\n", __location__); return False; -- cgit