Index: php4/ext/sablot/php_sablot.h =================================================================== RCS file: /repository/php4/ext/sablot/php_sablot.h,v retrieving revision 1.8 diff -r1.8 php_sablot.h 38,40c38 < < /* Request functions */ < PHP_RSHUTDOWN_FUNCTION(sablot); --- > PHP_MSHUTDOWN_FUNCTION(sablot); 103d100 < SablotHandle processor; Index: php4/ext/sablot/sablot.c =================================================================== RCS file: /repository/php4/ext/sablot/sablot.c,v retrieving revision 1.21 diff -r1.21 sablot.c 34a35 > static SablotHandle processor; 84c85 < if (SABLOTG(processor) == NULL) { \ --- > if (processor == NULL) { \ 87c88 < ret = SablotCreateProcessor(&SABLOTG(processor)); \ --- > ret = SablotCreateProcessor(&processor); \ 93c94 < ret = SablotRegHandler(SABLOTG(processor), HLR_MESSAGE, (void *)&mh, (void *)NULL); \ --- > ret = SablotRegHandler(processor, HLR_MESSAGE, (void *)&mh, (void *)NULL); \ 100c101 < #define SABLOT_BASIC_HANDLE SABLOTG(processor) --- > #define SABLOT_BASIC_HANDLE processor 163c164,165 < NULL, --- > PHP_MSHUTDOWN(sablot), > NULL, 165d166 < PHP_RSHUTDOWN(sablot), 178a180 > processor = NULL; 183c185 < PHP_RSHUTDOWN_FUNCTION(sablot) --- > PHP_MSHUTDOWN_FUNCTION(sablot) 185,190c187,190 < SABLOTLS_FETCH(); < < if (SABLOTG(processor)) { < SablotUnregHandler(SABLOTG(processor), HLR_MESSAGE, NULL, NULL); < SablotDestroyProcessor(SABLOTG(processor)); < } --- > if (processor) { > SablotUnregHandler(processor, HLR_MESSAGE, NULL, NULL); > SablotDestroyProcessor(processor); > }