Skip to content
Snippets Groups Projects
Commit 65b05817 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

zone: fix typo

parent 52b60a23
Branches
Tags
No related merge requests found
Pipeline #1208 passed with stages
in 4 minutes and 52 seconds
......@@ -141,7 +141,7 @@ static int flush_journal(conf_t *conf, zone_t *zone)
/* Plan next journal flush after proper period. */
zone->timers.last_flush = time(NULL);
conf_val_t val = conf_zone_get(conf, C_ZONEFILE_SYNC, zone->name);
val = conf_zone_get(conf, C_ZONEFILE_SYNC, zone->name);
int64_t sync_timeout = conf_int(&val);
if (sync_timeout > 0) {
time_t next_flush = zone->timers.last_flush + sync_timeout;
......
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