Skip to content
Snippets Groups Projects
Commit 8cd4b423 authored by Libor Peltan's avatar Libor Peltan
Browse files

ddns: fixed time report sec versus millis

parent 7d924855
No related merge requests found
...@@ -198,7 +198,7 @@ static void process_requests(conf_t *conf, zone_t *zone, list_t *requests) ...@@ -198,7 +198,7 @@ static void process_requests(conf_t *conf, zone_t *zone, list_t *requests)
struct timespec t_end = time_now(); struct timespec t_end = time_now();
log_zone_info(zone->name, "DDNS, update finished, serial %u -> %u, " log_zone_info(zone->name, "DDNS, update finished, serial %u -> %u, "
"%.02f seconds", old_serial, new_serial, "%.02f seconds", old_serial, new_serial,
time_diff_ms(&t_start, &t_end)); time_diff_ms(&t_start, &t_end) / 1000.0);
zone_events_schedule_at(zone, ZONE_EVENT_NOTIFY, time(NULL) + 1); zone_events_schedule_at(zone, ZONE_EVENT_NOTIFY, time(NULL) + 1);
} }
......
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