mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
don't use WRONG_PARAM_COUNT with new param parsing API
This commit is contained in:
parent
6328804530
commit
4c0a9448a9
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user