Skip to content

Commit 1b6d076

Browse files
committed
Fix bug #68751 listen.allowed_clients is broken
1 parent ea1c0c5 commit 1b6d076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fastcgi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void fcgi_set_allowed_clients(char *ip)
258258
cur++;
259259
}
260260
if (allowed_clients) free(allowed_clients);
261-
allowed_clients = malloc(sizeof(in_addr_t) * (n+2));
261+
allowed_clients = malloc(sizeof(sa_t) * (n+2));
262262
n = 0;
263263
cur = ip;
264264
while (cur) {

0 commit comments

Comments
 (0)