projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
travis: org->com [travis skip]
[m6w6/ext-http]
/
src
/
php_http_client_curl.c
diff --git
a/src/php_http_client_curl.c
b/src/php_http_client_curl.c
index 45515fa2686316497d184982fe76d95521eca955..9a6ce26d506872a321bf95b3e09d681d62d14898 100644
(file)
--- a/
src/php_http_client_curl.c
+++ b/
src/php_http_client_curl.c
@@
-46,7
+46,7
@@
typedef struct php_http_client_curl_handler {
php_http_buffer_t ranges;
struct {
php_http_buffer_t ranges;
struct {
- uint count;
+ uint
32_t
count;
double delay;
} retry;
double delay;
} retry;
@@
-331,7
+331,9
@@
static ZEND_RESULT_CODE php_http_curle_get_info(CURL *ch, HashTable *info)
long l = 0;
double d = 0;
struct curl_slist *s = NULL, *p = NULL;
long l = 0;
double d = 0;
struct curl_slist *s = NULL, *p = NULL;
- zval tmp = {{0}};
+ zval tmp;
+
+ ZVAL_NULL(&tmp);
/* BEGIN::CURLINFO */
if (CURLE_OK == curl_easy_getinfo(ch, CURLINFO_EFFECTIVE_URL, &c)) {
/* BEGIN::CURLINFO */
if (CURLE_OK == curl_easy_getinfo(ch, CURLINFO_EFFECTIVE_URL, &c)) {