Skip to content

Commit f6b26a1

Browse files
Added a opening bracket
This way apache 2.4 will be able to compile the module.
1 parent 27c3561 commit f6b26a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mod_limits.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static int limits_handler(request_rec *r) {
128128
// Count the number of connections from this IP address from the scoreboard
129129
#ifdef APACHE24
130130
ws_record = ap_get_scoreboard_worker_from_indexes(i, j);
131-
if (limits->ip > 0)
131+
if (limits->ip > 0) {
132132
if (strcmp(r->connection->client_ip, ws_record->client) == 0)
133133
#else
134134
ws_record = ap_get_scoreboard_worker(i, j);

0 commit comments

Comments
 (0)