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:
b91a5aa
)
fixed ZTS
author
Anatoliy Belsky
<ab@php.net>
Sat, 23 Nov 2013 09:38:01 +0000
(09:38 +0000)
committer
Anatoliy Belsky
<ab@php.net>
Sat, 23 Nov 2013 09:38:01 +0000
(09:38 +0000)
php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/php_http_client_curl.c
b/php_http_client_curl.c
index 01e626d7385f7462868ee18e23fb9eeacd1d8ab4..52e5e0278788af16cb082dbaaa4a7a4901f9693a 100644
(file)
--- a/
php_http_client_curl.c
+++ b/
php_http_client_curl.c
@@
-1769,11
+1769,12
@@
static int php_http_client_curl_once(php_http_client_t *h)
static STATUS php_http_client_curl_exec(php_http_client_t *h)
{
- TSRMLS_FETCH_FROM_CTX(h->ts);
-
#if PHP_HTTP_HAVE_EVENT
php_http_client_curl_t *curl = h->ctx;
+#endif
+ TSRMLS_FETCH_FROM_CTX(h->ts);
+#if PHP_HTTP_HAVE_EVENT
if (curl->useevents) {
php_http_curlm_timeout_callback(CURL_SOCKET_TIMEOUT, /*EV_READ|EV_WRITE*/0, h);
do {