X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar.c;h=2e486dab8ae9b31aa30dcfdb43d26b8b4be41d47;hb=9348dacacb2328b59eff5f821ba8a00a662160fd;hp=a80e62c167f863db8bbcab9a67c002afa4042106;hpb=77ad06c3f4bf4d2a4e3a7ff82ec94fcdff343273;p=citadel.git diff --git a/webcit/calendar.c b/webcit/calendar.c index a80e62c16..2e486dab8 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, "