ext/curl/interface: fix zend_result return value

Closes GH-10640

Signed-off-by: George Peter Banyard <girgias@php.net>
This commit is contained in:
Max Kellermann 2023-02-21 11:06:48 +01:00 committed by George Peter Banyard
parent d51eb1d74c
commit ed4dc39e7f
No known key found for this signature in database
GPG key ID: 3306078E3194AEBD

View file

@ -2051,7 +2051,7 @@ static inline int build_mime_structure_from_hash(php_curl *ch, zval *zpostfields
postval = Z_STR_P(prop);
if (php_check_open_basedir(ZSTR_VAL(postval))) {
return 1;
return FAILURE;
}
prop = zend_read_property(curl_CURLFile_class, Z_OBJ_P(current), "mime", sizeof("mime")-1, 0, &rv);