X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_headers_api.c;h=f264b68ae4c4ccd1771b2cc289869e959cd28eb5;hb=4b918f89dfd55ec1b4cc928b50f33e35567ed533;hp=96a8b66fb5ea573ec370f49d8cd704cfc0124767;hpb=e32f6fed32939bba9839c0e4f7cdaec02d8828dd;p=m6w6%2Fext-http diff --git a/http_headers_api.c b/http_headers_api.c index 96a8b66..f264b68 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -18,10 +18,8 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif - -#include - #include "php.h" + #include "ext/standard/php_string.h" #include "ext/standard/url.h" @@ -30,6 +28,8 @@ #include "php_http_api.h" #include "php_http_headers_api.h" +#include + /* {{{ static int http_sort_q(const void *, const void *) */ static int http_sort_q(const void *a, const void *b TSRMLS_DC) { @@ -370,7 +370,7 @@ PHP_HTTP_API void _http_parse_headers_default_callback(const char *http_line, Ha PHP_HTTP_API void _http_get_request_headers_ex(HashTable *headers, zend_bool prettify TSRMLS_DC) { char *key = NULL; - long idx = 0; + ulong idx = 0; zval array; Z_ARRVAL(array) = headers;