]> granicus.if.org Git - php/commitdiff
- fixed segm fault in hw_docbyanchor()
authorUwe Steinmann <steinm@php.net>
Thu, 3 Feb 2000 17:20:49 +0000 (17:20 +0000)
committerUwe Steinmann <steinm@php.net>
Thu, 3 Feb 2000 17:20:49 +0000 (17:20 +0000)
ext/hyperwave/hw.c

index 5ade1d45d433974239dbd7c955cd4d0a2057e93a..f434a27aa94fb554db5fdf840020eb41fa43e72e 100644 (file)
@@ -2924,7 +2924,7 @@ PHP_FUNCTION(hw_docbyanchor) {
        int link, id, type;
        hw_connection *ptr;
 
-       if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &arg1, &arg2) == FAILURE) {
+       if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(ht, 2, &arg1, &arg2) == FAILURE) {
                WRONG_PARAM_COUNT;
        }
        convert_to_long_ex(arg1);