[PHP-DEV] cvs: /php3/functions php3_mcal.c From: Charles Hagenbuch (chagenbu <email protected>)
Date: 01/28/00

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);

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>