diff options
author | Stanislav Malyshev <stas@php.net> | 2014-10-14 11:42:33 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-10-14 11:42:33 -0700 |
commit | bb3d43fa05be3c0ae46b5bcc92d2933b00d92d11 (patch) | |
tree | 68c878a453c9968099164b444c9da1e6a5b788d7 | |
parent | ddb207e7fa2e9adeba021a1303c3781efda5409b (diff) | |
download | php-git-bb3d43fa05be3c0ae46b5bcc92d2933b00d92d11.tar.gz |
Fix return code (merges are hard :( )
-rw-r--r-- | ext/curl/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index eab2edf663..a48e8a3c06 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -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 |