mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
Fix build
This commit is contained in:
@@ -959,7 +959,7 @@ static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen)
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not call the CURLOPT_PASSWDFUNCTION");
|
||||
} else if (Z_TYPE_P(retval) == IS_STRING || Z_TYPE_P(retval) == IS_UNICODE) {
|
||||
if (Z_TYPE_P(retval) == IS_UNICODE) {
|
||||
convert_to_string_ex(retval);
|
||||
convert_to_string_ex(&retval);
|
||||
}
|
||||
if (Z_STRLEN_P(retval) > buflen) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Returned password is too long for libcurl to handle");
|
||||
|
||||
Reference in New Issue
Block a user