summaryrefslogtreecommitdiff
path: root/ext/sablot/sablot.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sablot/sablot.c')
-rw-r--r--ext/sablot/sablot.c10
1 files changed, 5 insertions, 5 deletions
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;
}