X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver%2Fmodules%2Fcalendar%2Fserv_calendar.c;h=4d86058276178341e488c71a2346c4b0324d48c2;hb=47638e6a9b3f0c9cac3bdeee4ff214023b23c9d1;hp=ac9d74465a993c258a75ee76204b5fec95a21c94;hpb=734faf57dea0bd45b092f8356a6183587168bc3f;p=citadel.git diff --git a/citadel/server/modules/calendar/serv_calendar.c b/citadel/server/modules/calendar/serv_calendar.c index ac9d74465..4d8605827 100644 --- a/citadel/server/modules/calendar/serv_calendar.c +++ b/citadel/server/modules/calendar/serv_calendar.c @@ -7,23 +7,15 @@ // This program is open source software. Use, duplication, or disclosure // are subject to the terms of the GNU General Public License version 3. -#define PRODID "-//Citadel//NONSGML Citadel Calendar//EN" - -#include "../../ctdl_module.h" #include +#include "../../ctdl_module.h" #include "../../msgbase.h" #include "../../internet_addressing.h" -#include "serv_calendar.h" #include "../../room_ops.h" #include "../../euidindex.h" #include "../../default_timezone.h" #include "../../config.h" - -struct ical_respond_data { - char desired_partnum[SIZ]; - icalcomponent *cal; -}; - +#include "serv_calendar.h" // Utility function to create a new VCALENDAR component with some of the // required fields already set the way we like them. @@ -1523,8 +1515,7 @@ void ical_getics_backend(long msgnum, void *data) { if (p) { const char *tzid = icalproperty_get_tzid(p); if (!icalcomponent_get_timezone(encaps, tzid)) { - icalcomponent_add_component(encaps, - icalcomponent_new_clone(c)); + icalcomponent_add_component(encaps, icalcomponent_new_clone(c)); } } }