1
0
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:
Pierre Joye
2009-04-16 05:32:38 +00:00
parent adefeac748
commit 716cc044ef

View File

@@ -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;