cvs: pecl /mcal php_mcal.c

From: Date: Fri, 20 Aug 2004 00:45:35 +0000
Subject: cvs: pecl /mcal php_mcal.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-1690@lists.php.net to get a copy of this message
iliaa Thu Aug 19 20:45:35 2004 EDT Modified files: /pecl/mcal php_mcal.c Log: Fixed bug #29753 (mcal_fetch_event() allows 2nd argument to be optional). http://cvs.php.net/diff.php/pecl/mcal/php_mcal.c?r1=1.59&r2=1.60&ty=u Index: pecl/mcal/php_mcal.c diff -u pecl/mcal/php_mcal.c:1.59 pecl/mcal/php_mcal.c:1.60 --- pecl/mcal/php_mcal.c:1.59 Mon Jun 16 10:03:30 2003 +++ pecl/mcal/php_mcal.c Thu Aug 19 20:45:34 2004 @@ -459,7 +459,7 @@ CALEVENT *myevent; int myargcount=ZEND_NUM_ARGS(); - if (myargcount < 1 || myargcount > 3 || zend_get_parameters_ex(myargcount, &streamind, &eventid, &options) == FAILURE) { + if (myargcount < 2 || myargcount > 3 || zend_get_parameters_ex(myargcount, &streamind, &eventid, &options) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_long_ex(streamind);

« previous php.pecl.cvs (#1690) next »