mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
- #47978, typo in ext/sockets/sockets.c
This commit is contained in:
@@ -229,7 +229,7 @@ static int php_open_listen_sock(php_socket **php_sock, int port, int backlog TSR
|
||||
sock->type = PF_INET;
|
||||
|
||||
if (bind(sock->bsd_socket, (struct sockaddr *)&la, sizeof(la)) < 0) {
|
||||
PHP_SOCKET_ERROR(sock, "unable to bind to given adress", errno);
|
||||
PHP_SOCKET_ERROR(sock, "unable to bind to given address", errno);
|
||||
close(sock->bsd_socket);
|
||||
efree(sock);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user