More lint.

git-svn-id: file:///svn/unbound/trunk@1801 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2009-09-01 13:15:51 +00:00
parent 544b3f8428
commit 0a35d358ee
+1 -1
View File
@@ -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;