Skip to content

Commit

Permalink
ext/curl/interface: fix zend_result return value
Browse files Browse the repository at this point in the history
Closes GH-10640

Signed-off-by: George Peter Banyard <girgias@php.net>
  • Loading branch information
MaxKellermann authored and Girgias committed Feb 21, 2023
1 parent d51eb1d commit ed4dc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/curl/interface.c
Expand Up @@ -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);
Expand Down

0 comments on commit ed4dc39

Please sign in to comment.