From 5c50bcb9c76afc6e2d8552ebc57674f385c674fc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 11 Feb 2024 18:16:20 +0000 Subject: Remove the time_t parameter from Tick and TickTimers. Most uses of Tick do not use the parameter and even when it is used it is always the same as CurTime. --- include/modules/dns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/dns.h b/include/modules/dns.h index 898afe511..0773a8191 100644 --- a/include/modules/dns.h +++ b/include/modules/dns.h @@ -173,7 +173,7 @@ namespace DNS /** Used to time out the query, xalls OnError and lets the TimerManager * delete this request. */ - void Tick(time_t) override + void Tick() override { Log(LOG_DEBUG_2) << "Resolver: timeout for query " << this->name; Query rr(*this); -- cgit