From d546fae7415ece0feaf58da18e65ce3e0bd914d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Loyet?= Date: Sat, 8 Oct 2011 19:50:26 +0000 Subject: [PATCH] - Fixed bug #55486 (status show BIG processes number) --- sapi/fpm/fpm/fpm_process_ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapi/fpm/fpm/fpm_process_ctl.c b/sapi/fpm/fpm/fpm_process_ctl.c index 5e7ca5d900..027b566bb2 100644 --- a/sapi/fpm/fpm/fpm_process_ctl.c +++ b/sapi/fpm/fpm/fpm_process_ctl.c @@ -317,7 +317,7 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ int idle = 0; int active = 0; int children_to_fork; - unsigned cur_lq; + unsigned cur_lq = 0; if (wp->config == NULL) continue; @@ -352,8 +352,8 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ } #endif } - fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); } + fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); /* the rest is only used by PM_STYLE_DYNAMIC */ -- 2.50.1