cvs: /php4/ext/mcal php_mcal.c
| From: | Charles Hagenbuch | Date: | Wed, 01 Mar 2000 01:34:34 +0000 |
| Subject: | cvs: /php4/ext/mcal php_mcal.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11221@lists.php.net to get a copy of this message | ||
chagenbu Tue Feb 29 17:34:34 2000 EDT
Modified files:
/php4/ext/mcal php_mcal.c
Log:
Show the minor MCAL version if we have it.
Index: php4/ext/mcal/php_mcal.c
diff -u php4/ext/mcal/php_mcal.c:1.7 php4/ext/mcal/php_mcal.c:1.8
--- php4/ext/mcal/php_mcal.c:1.7 Sun Feb 27 17:37:20 2000
+++ php4/ext/mcal/php_mcal.c Tue Feb 29 17:34:04 2000
@@ -151,6 +151,9 @@
php_printf("<table>");
php_printf("<tr><td>Mcal Version:</td>");
php_printf("<td>%s</td>", CALVER);
+#ifdef MCALVER
+ php_printf("<td>%d</td>", MCALVER);
+#endif
php_printf("</tr></table>");
}
@@ -499,7 +502,7 @@
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;
}