[Pkg-php-commits] [php/debian-experimental] Fix a typo in the code: s/adress/address

Raphael Geissert atomo64 at gmail.com
Wed Jun 24 22:39:23 UTC 2009


---
 debian/patches/series                 |    1 +
 debian/patches/sockets_spelling.patch |   13 +++++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/sockets_spelling.patch

diff --git a/debian/patches/series b/debian/patches/series
index 22aa4db..d626109 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -32,3 +32,4 @@ manpage_spelling.patch
 force_libmysqlclient_r.patch
 libedit_is_editline.patch
 bad_whatis_entries.patch
+sockets_spelling.patch
diff --git a/debian/patches/sockets_spelling.patch b/debian/patches/sockets_spelling.patch
new file mode 100644
index 0000000..38932e7
--- /dev/null
+++ b/debian/patches/sockets_spelling.patch
@@ -0,0 +1,13 @@
+Index: php/ext/sockets/sockets.c
+===================================================================
+--- php.orig/ext/sockets/sockets.c
++++ php/ext/sockets/sockets.c
+@@ -229,7 +229,7 @@ static int php_open_listen_sock(php_sock
+ 	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;
-- 
1.5.6.5





More information about the Pkg-php-commits mailing list