X-Git-Url: http://git.indexdata.com/?p=phpyaz-moved-to-github.git;a=blobdiff_plain;f=php_yaz.c;h=0964cbd77d85f91da92a4e9c71f79fc5756b1a80;hp=1ba12176fd6e5dddf7955efc0b7de771a3e9ed54;hb=487009cea79ba813c5da44572f947939949ad3e2;hpb=597d27dafa2bbaff0ffef1747887f46a119b1e20;ds=sidebyside diff --git a/php_yaz.c b/php_yaz.c index 1ba1217..0964cbd 100644 --- a/php_yaz.c +++ b/php_yaz.c @@ -594,6 +594,9 @@ PHP_FUNCTION(yaz_wait) if (event_bool && *event_bool) event_mode = 1; } + else if (ZEND_NUM_ARGS() > 1) { + WRONG_PARAM_COUNT; + } #ifdef ZTS tsrm_mutex_lock(yaz_mutex); #endif