X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar.c;h=b919f001a5c6595de4c7de430e18ac206bd4956f;hb=eb3066c0522617c7c5212e0e1508e03c9a87e1e5;hp=8b95638048bdc28f2018eabec15305b468285678;hpb=e13a7c613ab8d38b0b1d5d9423aeda3f0fa9dc54;p=citadel.git diff --git a/webcit/calendar.c b/webcit/calendar.c index 8b9563804..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, "