Skip to content

Commit 53edb25

Browse files
tjikkunFelipe Zimmerle
authored andcommitted
get correct worker_score in loop
1 parent 8efece9 commit 53edb25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache2/mod_security2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ static int hook_connection_early(conn_rec *conn)
14611461
for (j = 0; j < thread_limit; ++j) {
14621462

14631463
#if AP_SERVER_MAJORVERSION_NUMBER > 1 && AP_SERVER_MINORVERSION_NUMBER > 2
1464-
ws_record = ap_get_scoreboard_worker(sbh);
1464+
ws_record = ap_get_scoreboard_worker_from_indexes(i, j);
14651465
#else
14661466
ws_record = ap_get_scoreboard_worker(i, j);
14671467
#endif

0 commit comments

Comments
 (0)