diff options
| author | Sterling Hughes <sterling@php.net> | 2000-10-10 20:51:32 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2000-10-10 20:51:32 +0000 |
| commit | 8759dcc0ce1e074ffa739a1624d8709350448f48 (patch) | |
| tree | e81d4821ce06bec4b00f09365772d947b1ff0f4b /ext | |
| parent | a03858c40be61d35e6191100c77475b1bd2180a8 (diff) | |
| download | php-git-8759dcc0ce1e074ffa739a1624d8709350448f48.tar.gz | |
Fix compilation, I wonder when these were omitted??
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/sablot/sablot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/sablot/sablot.c b/ext/sablot/sablot.c index 0b61e3f4a3..3487e5c5dc 100644 --- a/ext/sablot/sablot.c +++ b/ext/sablot/sablot.c @@ -490,11 +490,11 @@ PHP_FUNCTION(xslt_openlog) zval **xh, **logfile, **opt_loglevel; - php_sablot *handle; int ret = 0, loglevel = 0, argc = ZEND_NUM_ARGS(); + SABLOTLS_FETCH(); if (argc < 2 || argc > 3 || zend_get_parameters_ex(argc, &xh, &logfile, &opt_loglevel) == FAILURE) { @@ -684,7 +684,8 @@ PHP_FUNCTION(xslt_error) php_sablot *handle; int serrno = 0, argc = ZEND_NUM_ARGS(); - + SABLOTLS_FETCH(); + if (argc < 0 || argc > 1 || zend_get_parameters_ex(argc, &xh) == FAILURE) { WRONG_PARAM_COUNT; |
