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
(parent:
e15547f
)
reset errorcode
author
Michael Wallner
<mike@php.net>
Wed, 13 Apr 2016 13:07:14 +0000
(15:07 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 13 Apr 2016 13:07:14 +0000
(15:07 +0200)
fixes github issue #38
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 567c3c6c1c69f2a65f019d00c5384b30905ce978..7fa202383d7793db3d607d685442ad4c7e7fe5ed 100644
(file)
--- a/
src/php_http_client_curl.c
+++ b/
src/php_http_client_curl.c
@@
-1829,6
+1829,7
@@
static ZEND_RESULT_CODE php_http_client_curl_handler_reset(php_http_client_curl_
st->cookiestore = NULL;
}
st->errorbuffer[0] = '\0';
+ st->errorcode = 0;
}
curl_easy_setopt(ch, CURLOPT_URL, NULL);