projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(from parent 1:
70d751f
)
avoid 'error: Success' condition
author
Michael Wallner
<mike@php.net>
Mon, 23 May 2016 15:49:58 +0000
(17:49 +0200)
committer
Michael Wallner
<mike@php.net>
Mon, 23 May 2016 15:49:58 +0000
(17:49 +0200)
src/php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/src/php_http_client_curl.c
b/src/php_http_client_curl.c
index 435008cdb99a6c42e48a815577657b00088f76fa..bd4c14fc33096b6d5e4b0c8d083ad4ff7a3012ab 100644
(file)
--- a/
src/php_http_client_curl.c
+++ b/
src/php_http_client_curl.c
@@
-1601,7
+1601,7
@@
static ZEND_RESULT_CODE php_http_curle_set_option(php_http_option_t *opt, zval *
php_http_client_curl_handler_t *curl = userdata;
CURL *ch = curl->handle;
zval tmp;
- CURLcode rc = CURLE_
OK
;
+ CURLcode rc = CURLE_
UNKNOWN_OPTION
;
ZEND_RESULT_CODE rv = SUCCESS;
TSRMLS_FETCH_FROM_CTX(curl->client->ts);