get correct worker_score in loop

This commit is contained in:
Sander Hoentjen
2017-03-03 09:51:04 +01:00
committed by Felipe Zimmerle
parent 8efece97f7
commit 53edb258bb

View File

@@ -1461,7 +1461,7 @@ static int hook_connection_early(conn_rec *conn)
for (j = 0; j < thread_limit; ++j) { for (j = 0; j < thread_limit; ++j) {
#if AP_SERVER_MAJORVERSION_NUMBER > 1 && AP_SERVER_MINORVERSION_NUMBER > 2 #if AP_SERVER_MAJORVERSION_NUMBER > 1 && AP_SERVER_MINORVERSION_NUMBER > 2
ws_record = ap_get_scoreboard_worker(sbh); ws_record = ap_get_scoreboard_worker_from_indexes(i, j);
#else #else
ws_record = ap_get_scoreboard_worker(i, j); ws_record = ap_get_scoreboard_worker(i, j);
#endif #endif