Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2070acc

Browse files
ext/curl/interface: fix zend_result return value
1 parent 16da46e commit 2070acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ext/curl/interface.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ static inline zend_result build_mime_structure_from_hash(php_curl *ch, zval *zpo
13781378
postval = Z_STR_P(prop);
13791379

13801380
if (php_check_open_basedir(ZSTR_VAL(postval))) {
1381-
return 1;
1381+
return FAILURE;
13821382
}
13831383

13841384
prop = zend_read_property(curl_CURLFile_class, Z_OBJ_P(current), "mime", sizeof("mime")-1, 0, &rv);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /