mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
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:
parent
d51eb1d74c
commit
ed4dc39e7f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue