X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=1cffa1757717e5c2ef3222adc38ffe0484567860;hp=2935626ecfb4eff1483540cd63d4fbc5dbc310e5;hb=5853f70523cc38387dc35e2e8b81f2b8b69f909b;hpb=a9bf30098351bc77da5171ac420f4b55d8d07647 diff --git a/http_functions.c b/http_functions.c index 2935626..1cffa17 100644 --- a/http_functions.c +++ b/http_functions.c @@ -15,9 +15,6 @@ /* $Id$ */ -#define _WINSOCKAPI_ -#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS - #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -608,7 +605,7 @@ PHP_FUNCTION(http_split_response) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not parse HTTP response"); RETURN_FALSE; } - + array_init(return_value); add_index_zval(return_value, 0, zheaders); add_index_zval(return_value, 1, zbody);