cvs: php4 /ext/sockets sockets.c

From: Date: Tue, 07 May 2002 18:47:18 +0000
Subject: cvs: php4 /ext/sockets sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11738@lists.php.net to get a copy of this message
jason Tue May 7 14:47:18 2002 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix 10830, and 17074 FreeBSD requires the exact length of the socket type Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.111 php4/ext/sockets/sockets.c:1.112 --- php4/ext/sockets/sockets.c:1.111 Thu May 2 12:45:22 2002 +++ php4/ext/sockets/sockets.c Tue May 7 14:47:17 2002 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.111 2002/05/02 16:45:22 jason Exp $ */ +/* $Id: sockets.c,v 1.112 2002/05/07 18:47:17 jason Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1031,7 +1031,7 @@ RETURN_FALSE; } - retval = bind(php_sock->bsd_socket, (struct sockaddr *)sa, sizeof(sa_storage)); + retval = bind(php_sock->bsd_socket, (struct sockaddr *)sa, sizeof(struct sockaddr_in)); break; }

« previous php.cvs (#11738) next »