From c87f13951f6cb45298ad7e8f2b43f4793249399f Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Wed, 1 Mar 2000 01:34:05 +0000 Subject: [PATCH] Show the minor MCAL version if we have it. --- ext/mcal/php_mcal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c index b3ae486b84..0d98299c4a 100644 --- a/ext/mcal/php_mcal.c +++ b/ext/mcal/php_mcal.c @@ -151,6 +151,9 @@ PHP_MINFO_FUNCTION(mcal) php_printf(""); php_printf(""); php_printf("", CALVER); +#ifdef MCALVER + php_printf("", MCALVER); +#endif php_printf("
Mcal Version:%s%d
"); } @@ -499,7 +502,7 @@ PHP_FUNCTION(mcal_list_events) datetime_t startdate=DT_INIT; datetime_t enddate=DT_INIT; myargc=ARG_COUNT(ht); - if ((myargc !=1 && myargc !=7)|| getParameters(ht,myargc,&streamind,&startyear,&startmonth,&startday,&endyear,&endmonth,&endday) == FAILURE) { + if ((myargc != 1 && myargc != 7)|| getParameters(ht,myargc,&streamind,&startyear,&startmonth,&startday,&endyear,&endmonth,&endday) == FAILURE) { WRONG_PARAM_COUNT; } -- 2.40.0