summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-10-13 13:41:59 +0200
committerJeremy Allison <jra@samba.org>2018-10-16 21:20:19 +0200
commit2557ae53edcdb723a400f12d54081ef0c13b7600 (patch)
tree4ad11c700a948fe597a2c35612473cb6d59c5b1a /source3/torture
parentfdb50817cac2423adae3daf94759ecf1e6580760 (diff)
downloadsamba-2557ae53edcdb723a400f12d54081ef0c13b7600.tar.gz
lib: Move the "expired" for gencache_parse calculation into gencache.c
Make it more robust Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 16 21:20:19 CEST 2018 on sn-devel-144
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 098560968dd..3053596b439 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -10238,7 +10238,9 @@ static bool run_local_base64(int dummy)
return ret;
}
-static void parse_fn(time_t timeout, DATA_BLOB blob, void *private_data)
+static void parse_fn(const struct gencache_timeout *t,
+ DATA_BLOB blob,
+ void *private_data)
{
return;
}