diff options
author | Sterling Hughes <sterling@php.net> | 2000-12-03 19:13:41 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2000-12-03 19:13:41 +0000 |
commit | aa2d9117d9f8da7a96819ad5627d4117e75cd5cc (patch) | |
tree | 3b822684a6ef551d1173be642890353cf986ba72 /ext/sablot | |
parent | 56094458b70c45e876affdae17a81d01108633a8 (diff) | |
download | php-git-aa2d9117d9f8da7a96819ad5627d4117e75cd5cc.tar.gz |
Another attempt at fixing 8036
Diffstat (limited to 'ext/sablot')
-rw-r--r-- | ext/sablot/php_sablot.h | 4 | ||||
-rw-r--r-- | ext/sablot/sablot.c | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/ext/sablot/php_sablot.h b/ext/sablot/php_sablot.h index fff7ddab6c..e4dabd2c8f 100644 --- a/ext/sablot/php_sablot.h +++ b/ext/sablot/php_sablot.h @@ -34,9 +34,11 @@ extern zend_module_entry sablot_module_entry; /* Module functions */ PHP_MINIT_FUNCTION(sablot); -PHP_MSHUTDOWN_FUNCTION(sablot); PHP_MINFO_FUNCTION(sablot); +/* Request functions */ +PHP_RSHUTDOWN_FUNCTION(sablot); + /* Output transformation functions */ PHP_FUNCTION(xslt_output_begintransform); PHP_FUNCTION(xslt_output_endtransform); diff --git a/ext/sablot/sablot.c b/ext/sablot/sablot.c index 52ff594e91..c84a0ccdec 100644 --- a/ext/sablot/sablot.c +++ b/ext/sablot/sablot.c @@ -160,9 +160,9 @@ zend_module_entry sablot_module_entry = { "sablot", sablot_functions, PHP_MINIT(sablot), - PHP_MSHUTDOWN(sablot), - NULL, + NULL, NULL, + PHP_RSHUTDOWN(sablot), PHP_MINFO(sablot), STANDARD_MODULE_PROPERTIES }; @@ -180,15 +180,15 @@ PHP_MINIT_FUNCTION(sablot) return SUCCESS; } -PHP_MSHUTDOWN_FUNCTION(sablot) +PHP_RSHUTDOWN_FUNCTION(sablot) { SABLOTLS_FETCH(); - + if (SABLOTG(processor)) { SablotUnregHandler(SABLOTG(processor), HLR_MESSAGE, NULL, NULL); SablotDestroyProcessor(SABLOTG(processor)); } - + return SUCCESS; } |