don't use WRONG_PARAM_COUNT with new param parsing API

This commit is contained in:
Antony Dovgal 2008-12-31 15:48:06 +00:00
parent 6328804530
commit 4c0a9448a9

View File

@ -115,7 +115,7 @@ PHP_FUNCTION(gethostname)
char buf[4096];
if (zend_parse_parameters_none() == FAILURE) {
WRONG_PARAM_COUNT;
return;
}
if (gethostname(buf, sizeof(buf) - 1)) {