projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* nicer MINFO
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 2935626ecfb4eff1483540cd63d4fbc5dbc310e5..1cffa1757717e5c2ef3222adc38ffe0484567860 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-15,9
+15,6
@@
/* $Id$ */
/* $Id$ */
-#define _WINSOCKAPI_
-#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#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;
}
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);
array_init(return_value);
add_index_zval(return_value, 0, zheaders);
add_index_zval(return_value, 1, zbody);