Skip to content
Snippets Groups Projects
Commit 6e0a7396 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

zone loading: fix typo causing early expiration

parent 8dec3a87
Branches
Tags
No related merge requests found
......@@ -193,7 +193,7 @@ static int reuse_events(namedb_t *timer_db, zone_t *zone)
continue;
}
if (event == ZONE_EVENT_EXPIRE && event <= time(NULL)) {
if (event == ZONE_EVENT_EXPIRE && timers[event] <= time(NULL)) {
zone->flags |= ZONE_EXPIRED;
continue;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment