projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- fiy a bad thing which was luckily working (putting in zvals and fetching out longs...
[m6w6/ext-http]
/
http_headers_api.c
diff --git
a/http_headers_api.c
b/http_headers_api.c
index 4f255fe206a2aa656b0190d6f5b23ba06dbd6331..8a4ecc5591f8d9a9ee8c2b4e918a755c56facd4d 100644
(file)
--- a/
http_headers_api.c
+++ b/
http_headers_api.c
@@
-331,9
+331,7
@@
PHP_HTTP_API STATUS _http_parse_headers_ex(const char *header, HashTable *header
size_t header_len;
zval array;
- INIT_PZVAL(&array);
- Z_TYPE_P(array) = IS_ARRAY;
- Z_ARRVAL(array) = headers;
+ INIT_ZARR(array, headers);
if (body) {
header_len = body - header;