do not confuse lint

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1797 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
wouter 2009-09-01 09:48:57 +00:00
parent 1c2c0cc0ec
commit 17d704b1aa

View File

@ -945,8 +945,10 @@ void worker_probe_timer_cb(void* arg)
{
struct worker* worker = (struct worker*)arg;
struct timeval tv;
tv.tv_sec = (unsigned)autr_probe_timer(&worker->env);
#ifndef S_SPLINT_S
tv.tv_sec = (time_t)autr_probe_timer(&worker->env);
tv.tv_usec = 0;
#endif
comm_timer_set(worker->probe_timer, &tv);
}