diff options
author | Hannes Magnusson <bjori@php.net> | 2006-11-03 14:46:48 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2006-11-03 14:46:48 +0000 |
commit | 050f94f746bd834cbefa9ffc4a1eb2ef8c41f480 (patch) | |
tree | 8f5824ad6d76371ef151982b061425dc4a41b286 /ext/standard/basic_functions.c | |
parent | 11c47dc5107001d8805ee2822454c36b5d6d56d3 (diff) | |
download | php-git-050f94f746bd834cbefa9ffc4a1eb2ef8c41f480.tar.gz |
MFH: Fix double "wron param count" messages
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 1b31e9bf82..6f115c5e6e 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4725,7 +4725,7 @@ PHP_FUNCTION(time_nanosleep) struct timespec php_req, php_rem; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &tv_sec, &tv_nsec)) { - WRONG_PARAM_COUNT; + return; } php_req.tv_sec = (time_t) tv_sec; @@ -4754,7 +4754,7 @@ PHP_FUNCTION(time_sleep_until) struct timespec php_req, php_rem; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &d_ts)) { - WRONG_PARAM_COUNT; + return; } if (gettimeofday((struct timeval *) &tm, NULL) != 0) { |