summaryrefslogtreecommitdiff
path: root/src/expire.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expire.c')
-rw-r--r--src/expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expire.c b/src/expire.c
index e357b9986..d07e22f66 100644
--- a/src/expire.c
+++ b/src/expire.c
@@ -271,7 +271,7 @@ void activeExpireCycle(int type) {
while (data.sampled < num && checked_buckets < max_buckets) {
db->expires_cursor = dictScan(db->expires, db->expires_cursor,
- expireScanCallback, NULL, &data);
+ expireScanCallback, &data);
checked_buckets++;
}
total_expired += data.expired;