mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
silly error, will MFH
This commit is contained in:
parent
3c94150191
commit
3cb16973ef
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user