1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

Fixed typo

This commit is contained in:
Ilia Alshanetsky
2006-12-08 03:13:41 +00:00
parent 49b8d0cd37
commit 6ef2d0dd23
+1 -1
View File
@@ -958,7 +958,7 @@ static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen)
if (error == FAILURE) {
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_(retval) == IS_UNICODE) {
if (Z_TYPE_P(retval) == IS_UNICODE) {
convert_to_string_ex(retval);
}
if (Z_STRLEN_P(retval) > buflen) {