cvs: /php3/functions php3_mcal.c
| From: | Charles Hagenbuch | Date: | Fri, 28 Jan 2000 15:17:27 +0000 |
| Subject: | cvs: /php3/functions php3_mcal.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14980@lists.php.net to get a copy of this message | ||
chagenbu Fri Jan 28 07:17:27 2000 EDT
Modified files:
/php3/functions php3_mcal.c
Log:
Minor change: mcal_fetch_event assumes the existence of the second parameter
(eventID), so I've changed it to not accept just one parameter.
Index: php3/functions/php3_mcal.c
diff -u php3/functions/php3_mcal.c:1.36 php3/functions/php3_mcal.c:1.37
--- php3/functions/php3_mcal.c:1.36 Fri Jan 28 07:04:17 2000
+++ php3/functions/php3_mcal.c Fri Jan 28 07:17:26 2000
@@ -396,7 +396,7 @@
CALEVENT *myevent=NULL;
int myargcount=ARG_COUNT(ht);
- if (myargcount < 1 || myargcount > 3 || getParameters(ht, myargcount, &streamind,
&eventid,&options) == FAILURE) {
+ if (myargcount < 2 || myargcount > 3 || getParameters(ht, myargcount, &streamind,
&eventid,&options) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long(streamind);