summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-25 15:25:12 +0000
committerWez Furlong <wez@php.net>2002-09-25 15:25:12 +0000
commit696e0a2301f2641d2ef8c4f94f0287ddbcb6ae10 (patch)
treebe82ee3df1f9ae5b1b5f95e57db51bc33dfc214a /main/main.c
parent8e635cf0bc377bc869a12d6c6a86c27a3a67c5a5 (diff)
downloadphp-git-696e0a2301f2641d2ef8c4f94f0287ddbcb6ae10.tar.gz
Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions. Tidy up streams use in ext/standard/file.c
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index 4787c7e31b..aae6cdd523 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1076,7 +1076,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
/* initialize stream wrappers registry
* (this uses configuration parameters from php.ini)
*/
- if (php_init_stream_wrappers(TSRMLS_C) == FAILURE) {
+ if (php_init_stream_wrappers(module_number TSRMLS_CC) == FAILURE) {
php_printf("PHP: Unable to initialize stream url wrappers.\n");
return FAILURE;
}
@@ -1192,7 +1192,7 @@ void php_module_shutdown(TSRMLS_D)
zend_shutdown(TSRMLS_C);
- php_shutdown_stream_wrappers(TSRMLS_C);
+ php_shutdown_stream_wrappers(module_number TSRMLS_CC);
php_shutdown_info_logos();
UNREGISTER_INI_ENTRIES();