diff --git a/src/response_time_index.c b/src/response_time_index.c index 9600e8c7..8d10f804 100644 --- a/src/response_time_index.c +++ b/src/response_time_index.c @@ -399,9 +399,9 @@ void response_time_reset() static struct query* flushed_obj = 0; -const dns_message* response_time_flush(enum flush_mode mode) +const dns_message* response_time_flush(enum flush_mode fm) { - switch (mode) { + switch (fm) { case flush_get: if (qfirst && last_ts.tv_sec - qfirst->tm.ts.tv_sec >= max_sec) { if (flushed_obj)