cvs: php-src(PHP_5_0) /ext/sockets sockets.c

From: Date: Thu, 01 Dec 2005 14:05:13 +0000
Subject: cvs: php-src(PHP_5_0) /ext/sockets sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35564@lists.php.net to get a copy of this message
tony2001 Thu Dec 1 09:05:13 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/sockets sockets.c Log: MF51: fix #35490 (socket_sendto() unable to handle IPv6 addresses) http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.165.2.5&r2=1.165.2.6&ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.165.2.5 php-src/ext/sockets/sockets.c:1.165.2.6 --- php-src/ext/sockets/sockets.c:1.165.2.5 Fri Sep 23 06:01:06 2005 +++ php-src/ext/sockets/sockets.c Thu Dec 1 09:05:08 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.165.2.5 2005/09/23 10:01:06 hyanantha Exp $ */ +/* $Id: sockets.c,v 1.165.2.6 2005/12/01 14:05:08 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1482,7 +1482,7 @@ RETURN_FALSE; } - retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockaddr *) &sin, sizeof(sin)); + retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockaddr *) &sin6, sizeof(sin6)); break; #endif default:

« previous php.cvs (#35564) next »