Skip to content

Commit eb1a1d5

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: NEWS Fix bug #68751 listen.allowed_clients is broken
2 parents 38f1b56 + 4bb580a commit eb1a1d5

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)