mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fix return code (merges are hard :( )
This commit is contained in:
commit
47a1447cc8
@ -171,7 +171,7 @@ static int php_curl_option_str(php_curl *ch, long option, const char *str, const
|
||||
|
||||
if (strlen(str) != len) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Curl option contains invalid characters (\\0)");
|
||||
return 0;
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
#if LIBCURL_VERSION_NUM >= 0x071100
|
||||
|
Loading…
Reference in New Issue
Block a user