X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar.c;h=b919f001a5c6595de4c7de430e18ac206bd4956f;hb=dca4414169da8ea7161d5b95fc9ccbefe5d39651;hp=a059acb8ffa78ca274c271dbc735913640448918;hpb=808f3be91dd6b6677e380695e2f16e6473141a7e;p=citadel.git diff --git a/webcit/calendar.c b/webcit/calendar.c index a059acb8f..b919f001a 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -1,12 +1,20 @@ /* - * $Id$ - * * Functions which handle calendar objects and their processing/display. + * + * Copyright (c) 1996-2012 by the citadel.org team + * + * This program is open source software. You can redistribute it and/or + * modify it under the terms of the GNU General Public License, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. */ #include "webcit.h" #include "webserver.h" - +#include "calendar.h" /* * Process a calendar object. At this point it's already been deserialized by cal_process_attachment() @@ -34,6 +42,7 @@ void cal_process_object(StrBuf *Target, int is_update = 0; char divname[32]; static int divcount = 0; + const char *ch; sprintf(divname, "rsvp%04x", ++divcount); @@ -60,7 +69,7 @@ void cal_process_object(StrBuf *Target, the_method = icalproperty_get_method(method); StrBufAppendPrintf(Target, "