]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
More lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Sep 2009 13:15:51 +0000 (13:15 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Sep 2009 13:15:51 +0000 (13:15 +0000)
git-svn-id: file:///svn/unbound/trunk@1801 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/autotrust.c

index e88215dde507a5eaf93623b1ab862657dddfe9a7..9b57597bd9e11087539c310787d3f23a2728a076 100644 (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;