diff options
author | Sterling Hughes <sterling@php.net> | 2001-05-21 18:35:47 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-05-21 18:35:47 +0000 |
commit | fc741eb754e5d25cf2ddb3bf1e0d920fc0de100c (patch) | |
tree | 5cc0892a594bd7ed205ac2134151543cb614801e /ext/sockets | |
parent | b376e5b03e47dadfb176a6515f9469bdabaf175f (diff) | |
download | php-git-fc741eb754e5d25cf2ddb3bf1e0d920fc0de100c.tar.gz |
one of these days I'll get this commit correct, just you watch!
# must not commit before coffee
# must not commit before coffee
# *ploink*
Diffstat (limited to 'ext/sockets')
-rw-r--r-- | ext/sockets/sockets.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 4aee0dfbc9..e6b36e0c84 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -641,7 +641,7 @@ PHP_FUNCTION(socket_write) } /* }}} */ -typedef int (*read_function)(int, void *, int); +typedef int (*read_func)(int, void *, int); /* {{{ proto mixed socket_read(resource socket, int length [, int type]) Reads length bytes from socket */ @@ -650,7 +650,7 @@ PHP_FUNCTION(socket_read) zval **arg1, **arg2, **arg3; char *tmpbuf; php_socket *php_sock; - read_function = php_read; + read_func read_function = php_read; int retval, argc = ZEND_NUM_ARGS(); if (argc < 2 || argc > 3 || zend_get_parameters_ex(argc, &arg1, &arg2, &arg3) == FAILURE) { @@ -665,7 +665,7 @@ PHP_FUNCTION(socket_read) switch (Z_LVAL_PP(arg3)) { case PHP_SYSTEM_READ: case PHP_BINARY_READ: - read_function = (read_function) read; + read_function = (read_func) read; break; } } |