1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00

added missing SABLOTLS_FETCH()

This commit is contained in:
Daniel Beulshausen
2000-11-23 14:02:41 +00:00
parent df7c2eeabc
commit e6d07d6fa3

View File

@@ -895,6 +895,8 @@ PHP_FUNCTION(xslt_set_error_handler)
zval **arg1, **arg2;
php_sablot *handle;
int argc = ZEND_NUM_ARGS();
SABLOTLS_FETCH();
if (argc > 2 || argc < 1 ||
zend_get_parameters_ex(argc, &arg1, &arg2) == FAILURE) {
@@ -1175,6 +1177,8 @@ static MH_ERROR _php_sablot_error(void *userData, SablotHandle p, MH_ERROR code,
argc = 0,
idx,
len;
SABLOTLS_FETCH();
if (userData == NULL) {
SABLOT_FREE_ERROR_HANDLE(SABLOTG_HANDLE);