s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
[samba.git] / source3 / torture / torture.c
index 98694ed3d00a43e78d6aa4329e4105f77041a1e2..9e1ac7648ed606ecafa8f884c25dbc52c22eee8d 100644 (file)
@@ -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;