Moved a function around.

This commit is contained in:
Markus Makela 2015-02-22 21:52:53 +02:00
parent c47d2f3791
commit 1d74295e8c

View File

@ -432,8 +432,6 @@ int listeners = 0;
service->stats.started = time(0);
}
hktask_add("connection_timeout",session_close_timeouts,NULL,5);
return listeners;
}
@ -470,6 +468,11 @@ serviceStartAll()
SERVICE *ptr;
int n = 0,i;
/** Add the task that monitors session timeouts */
hktask_add("connection_timeout",session_close_timeouts,NULL,5);
ptr = allServices;
while (ptr && !ptr->svc_do_shutdown)
{