mirror of
https://github.com/php/php-src.git
synced 2026-04-10 17:43:13 +02:00
RETURN_STRING -> RETURN_STRINGL
This commit is contained in:
@@ -961,7 +961,7 @@ PHP_FUNCTION(curl_error)
|
||||
ZEND_FETCH_RESOURCE(ch, php_curl *, zid, -1, le_curl_name, le_curl);
|
||||
|
||||
ch->err.str[CURL_ERROR_SIZE] = 0;
|
||||
RETURN_STRING(ch->err.str, 1);
|
||||
RETURN_STRINGL(ch->err.str, CURL_ERROR_SIZE, 1);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user