]> granicus.if.org Git - php/commitdiff
- #47978, typo in ext/sockets/sockets.c
authorPierre Joye <pajoye@php.net>
Thu, 16 Apr 2009 05:33:13 +0000 (05:33 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 16 Apr 2009 05:33:13 +0000 (05:33 +0000)
ext/sockets/sockets.c

index 2bf6cb3876fc6841ee1ba4b9116b7e8c3cdc5378..aa79e9a27714de8c04a3df37bb9a0aaf2aa65a6e 100644 (file)
@@ -365,7 +365,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;