at the same time quiet a gcc warning (it assumed that thread_limit
could be zero, which would leave ps_record uninitialized when
referenced after the end of the thread loop)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94579
13f79535-47bb-0310-9956-
ffa450edef68
return 0;
for (i = 0; i < server_limit; ++i) {
+ ps_record = ap_get_scoreboard_process(i);
for (j = 0; j < thread_limit; ++j) {
int indx = (i * thread_limit) + j;
ws_record = ap_get_scoreboard_worker(i, j);
- ps_record = ap_get_scoreboard_process(i);
res = ws_record->status;
stat_buffer[indx] = status_flags[res];