summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-07-02 21:11:35 +0000
committerWez Furlong <wez@php.net>2003-07-02 21:11:35 +0000
commit49228bd5e284e509d6beb02df70948491f1235fe (patch)
treee6b0785b67cccc07dd795f1d8f55be81f43feec1
parente158cd285e391a1ccd8402045545e524763dced7 (diff)
downloadphp-git-49228bd5e284e509d6beb02df70948491f1235fe.tar.gz
more size_t -> socklen_t.
Noticed by tychay@php.net
-rw-r--r--main/streams/transports.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/transports.c b/main/streams/transports.c
index 501bdfd7b0..f07268602d 100644
--- a/main/streams/transports.c
+++ b/main/streams/transports.c
@@ -255,7 +255,7 @@ PHPAPI int php_stream_xport_listen(php_stream *stream, int backlog, char **error
/* 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_accept(php_stream *stream, php_stream **client,
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;