cvs: php-src(PHP_5_2) /ext/sockets sockets.c
| From: | Pierre-Alain Joye | Date: | Thu, 16 Apr 2009 05:32:38 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/sockets sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57036@lists.php.net to get a copy of this message | ||
pajoye Thu Apr 16 05:32:38 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/sockets sockets.c
Log:
- #47978, typo in ext/sockets/sockets.c
http://cvs.php.net/viewvc.cgi/php-src/ext/sockets/sockets.c?r1=1.171.2.9.2.22&r2=1.171.2.9.2.23&diff_format=u
Index: php-src/ext/sockets/sockets.c
diff -u php-src/ext/sockets/sockets.c:1.171.2.9.2.22 php-src/ext/sockets/sockets.c:1.171.2.9.2.23
--- php-src/ext/sockets/sockets.c:1.171.2.9.2.22 Tue Feb 3 19:22:40 2009
+++ php-src/ext/sockets/sockets.c Thu Apr 16 05:32:38 2009
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.171.2.9.2.22 2009/02/03 19:22:40 iliaa Exp $ */
+/* $Id: sockets.c,v 1.171.2.9.2.23 2009/04/16 05:32:38 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -229,7 +229,7 @@
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;