cvs: php-src /main/streams transports.c
| From: | Wez Furlong | Date: | Wed, 02 Jul 2003 21:11:35 +0000 |
| Subject: | cvs: php-src /main/streams transports.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22328@lists.php.net to get a copy of this message | ||
wez Wed Jul 2 17:11:35 2003 EDT
Modified files:
/php-src/main/streams transports.c
Log:
more size_t -> socklen_t.
Noticed by tychay@php.net
Index: php-src/main/streams/transports.c
diff -u php-src/main/streams/transports.c:1.5 php-src/main/streams/transports.c:1.6
--- php-src/main/streams/transports.c:1.5 Sat Jun 28 07:06:11 2003
+++ php-src/main/streams/transports.c Wed Jul 2 17:11:35 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: transports.c,v 1.5 2003/06/28 11:06:11 wez Exp $ */
+/* $Id: transports.c,v 1.6 2003/07/02 21:11:35 wez Exp $ */
#include "php.h"
#include "php_streams_int.h"
@@ -255,7 +255,7 @@
/* Get the next client and their address (as a string) */
PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client,
char **textaddr, int *textaddrlen,
- void **addr, size_t *addrlen,
+ void **addr, socklen_t *addrlen,
struct timeval *timeout,
char **error_text
TSRMLS_DC)
@@ -294,7 +294,7 @@
PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer,
char **textaddr, int *textaddrlen,
- void **addr, size_t *addrlen
+ void **addr, socklen_t *addrlen
TSRMLS_DC)
{
php_stream_xport_param param;