From: Uwe Steinmann Date: Thu, 3 Feb 2000 17:20:49 +0000 (+0000) Subject: - fixed segm fault in hw_docbyanchor() X-Git-Tag: BEFORE_SAPIFICATION_FEB_10_2000~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b414c4e4ed1ab40a02d813330ddd31713f6c241;p=php - fixed segm fault in hw_docbyanchor() --- diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c index 5ade1d45d4..f434a27aa9 100644 --- a/ext/hyperwave/hw.c +++ b/ext/hyperwave/hw.c @@ -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);