From 3cb16973ef3ac4598029481d520eb86c32f98ca6 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Fri, 20 Dec 2002 15:44:51 +0000 Subject: [PATCH] silly error, will MFH --- ext/sockets/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 0b26b8b80d..9022b963a8 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -747,7 +747,7 @@ PHP_FUNCTION(socket_write) ZEND_FETCH_RESOURCE(php_sock, php_socket *, &arg1, -1, le_socket_name, le_socket); - if (ZEND_NUM_ARGS() < 4) { + if (ZEND_NUM_ARGS() < 3) { length = str_len; } -- 2.40.0