diff --git a/src/main.c b/src/main.c index b65b0020ca8..56ea58a47d1 100644 --- a/src/main.c +++ b/src/main.c @@ -1327,13 +1327,12 @@ int main_loop(void) LM_CRIT("could not initialize shared configuration\n"); goto error; } - + /* Register the children that will keep updating their * local configuration */ cfg_register_child( 1 /* main = udp listener */ + 1 /* timer */ - + 1 /* wtimer */ #ifdef USE_SLOW_TIMER + 1 /* slow timer */ #endif @@ -1436,7 +1435,6 @@ int main_loop(void) * will be added later.) */ cfg_register_child( 1 /* timer */ - + 1 /* wtimer */ #ifdef USE_SLOW_TIMER + 1 /* slow timer */ #endif @@ -1827,7 +1825,6 @@ static int calc_proc_no(void) #ifdef USE_SLOW_TIMER + 1 /* slow timer process */ #endif - + 1 /* wtimer process */ #ifdef USE_TCP +((!tcp_disable)?( 1/* tcp main */ + tcp_listeners ):0) #endif