]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
please_lint
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 6 Oct 2008 09:42:31 +0000 (09:42 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 6 Oct 2008 09:42:31 +0000 (09:42 +0000)
git-svn-id: file:///svn/unbound/trunk@1283 be551aaa-1e26-0410-a405-d3ace91eadb9

services/mesh.c

index a4782dbf2fa9b7b209e1c8d30e7db57a619af707..209b459e70c3695dbb454a12817f789240ca27fc 100644 (file)
@@ -178,9 +178,11 @@ mesh_create(struct module_stack* stack, struct module_env* env)
        mesh->stats_dropped = 0;
        mesh->max_reply_states = env->cfg->num_queries_per_thread;
        mesh->max_forever_states = (mesh->max_reply_states+1)/2;
+#ifdef S_SPLINT_S
        mesh->jostle_max.tv_sec = (time_t)(env->cfg->jostle_time / 1000);
        mesh->jostle_max.tv_usec = (time_t)((env->cfg->jostle_time % 1000)
                *1000);
+#endif
        return mesh;
 }