Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix return code (merges are hard :( )
This commit is contained in:
Stanislav Malyshev 2014-10-14 11:43:34 -07:00
commit 47a1447cc8

View File

@ -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