mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-07 02:17:43 +02:00
More lint.
git-svn-id: file:///svn/unbound/trunk@1801 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -1472,11 +1472,11 @@ reset_worker_timer(struct module_env* env)
|
||||
{
|
||||
struct worker* worker = env->worker;
|
||||
struct timeval tv;
|
||||
#ifndef S_SPLINT_S
|
||||
uint32_t next = (uint32_t)wait_probe_time(env->anchors);
|
||||
/* in case this is libunbound, no timer */
|
||||
if(!worker || !worker->probe_timer)
|
||||
return;
|
||||
#ifndef S_SPLINT_S
|
||||
if(next > *env->now)
|
||||
tv.tv_sec = (time_t)(next - *env->now);
|
||||
else tv.tv_sec = 0;
|
||||
|
||||
Reference in New Issue
Block a user