projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
3b56e96
)
- don't destroy headers in http_message_tostruct_recursive()
author
Michael Wallner
<mike@php.net>
Thu, 25 Aug 2005 09:18:32 +0000
(09:18 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 25 Aug 2005 09:18:32 +0000
(09:18 +0000)
http_message_api.c
patch
|
blob
|
history
diff --git
a/http_message_api.c
b/http_message_api.c
index 76a557bb7e38ab22fa8076c6f61cc57933a57c1b..e399ed666a6e51a4c77bc41ae9f42151c72ea2ad 100644
(file)
--- a/
http_message_api.c
+++ b/
http_message_api.c
@@
-334,7
+334,6
@@
PHP_HTTP_API void _http_message_tostruct_recursive(http_message *msg, zval *obj
array_init(headers);
zend_hash_copy(Z_ARRVAL_P(headers), &msg->hdrs, (copy_ctor_func_t) zval_add_ref, NULL, sizeof(zval *));
add_assoc_zval(&strct, "headers", headers);
- zval_ptr_dtor(&headers);
add_assoc_stringl(&strct, "body", PHPSTR_VAL(msg), PHPSTR_LEN(msg), 1);