projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* docs
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index f4d32b202ef5a4313fe467a0d03db364543be8ad..2935626ecfb4eff1483540cd63d4fbc5dbc310e5 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-598,7
+598,7
@@
PHP_FUNCTION(http_split_response)
RETURN_FALSE;
}
RETURN_FALSE;
}
- convert_to_string
_ex(&
zresponse);
+ convert_to_string
(
zresponse);
MAKE_STD_ZVAL(zbody);
MAKE_STD_ZVAL(zheaders);
MAKE_STD_ZVAL(zbody);
MAKE_STD_ZVAL(zheaders);
@@
-608,7
+608,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);