From 76312b4508b43ed2cebd97b749e9e90181e55073 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Wed, 18 Sep 2002 21:57:42 +0000 Subject: another startup initialization fix - only ISAPI and CGI SAPI's tested, minor compile buglets might occur in other SAPIs, but should be trivial to fix... --- sapi/tux/php_tux.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sapi/tux/php_tux.c') diff --git a/sapi/tux/php_tux.c b/sapi/tux/php_tux.c index 4f0b6e17db..0c0384de25 100644 --- a/sapi/tux/php_tux.c +++ b/sapi/tux/php_tux.c @@ -252,11 +252,21 @@ static void sapi_tux_register_variables(zval *track_vars_array TSRMLS_DC) #endif } + +static int php_tux_startup(sapi_module_struct *sapi_module) +{ + if (php_module_startup(sapi_module, NULL, 0)==FAILURE) { + return FAILURE; + } else { + return SUCCESS; + } +} + static sapi_module_struct tux_sapi_module = { "tux", "tux", - php_module_startup, + php_tux_startup, php_module_shutdown_wrapper, NULL, /* activate */ -- cgit v1.2.1