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:
234dac3
)
- fix php4 build
author
Michael Wallner
<mike@php.net>
Thu, 25 Aug 2005 14:28:23 +0000
(14:28 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 25 Aug 2005 14:28:23 +0000
(14:28 +0000)
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index 73d6f87283798cb7a9783beb3f8659520d448123..e64840e3bbb8332990f207b2f5d13867f61486a2 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-241,7
+241,9
@@
PHP_MINIT_FUNCTION(http)
/* {{{ PHP_MSHUTDOWN_FUNCTION */
PHP_MSHUTDOWN_FUNCTION(http)
{
+#ifdef ZEND_ENGINE_2
zend_hash_destroy(&http_response_statics);
+#endif
UNREGISTER_INI_ENTRIES();
#ifdef HTTP_HAVE_CURL
curl_global_cleanup();
@@
-260,7
+262,9
@@
PHP_RINIT_FUNCTION(http)
}
http_globals_init(HTTP_GLOBALS);
+#ifdef ZEND_ENGINE_2
zend_init_static_properties(http_response_object_ce, &http_response_statics TSRMLS_CC);
+#endif
return SUCCESS;
}
/* }}} */