From 4fb3f6406f4d5a5c547f528aa082d76fdf030cbe Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 23 Sep 2012 16:19:47 +0200 Subject: [PATCH] make git compileable again. more work on this topic needed. --- webcit/ical_subst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit/ical_subst.c b/webcit/ical_subst.c index 32b7382e9..a0b2f895f 100644 --- a/webcit/ical_subst.c +++ b/webcit/ical_subst.c @@ -95,9 +95,9 @@ void tmplput_ICalDate(StrBuf *Target, WCTemplputParams *TP) icalcomponent *cal = (icalcomponent *) CTX(CTX_ICAL); icalproperty *p; icalproperty_kind Kind; - const char *str; struct icaltimetype t; time_t tt; + char buf[256]; Kind = (icalproperty_kind) GetTemplateTokenNumber(Target, TP, 0, ICAL_ANY_PROPERTY); p = icalcomponent_get_first_property(cal, Kind); @@ -134,7 +134,7 @@ void render_MIME_ICS_TPL(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *Foun memset(&SubTP, 0, sizeof(WCTemplputParams)); SubTP.Filter.ContextType = CTX_ICAL; - ical_dezonify(cal); + ///ical_dezonify(cal); /* If the component has subcomponents, recurse through them. */ c = icalcomponent_get_first_component(cal, ICAL_ANY_COMPONENT); @@ -144,7 +144,7 @@ void render_MIME_ICS_TPL(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *Foun FlushStrBuf(Mime->Data); DoTemplate(HKEY("ical_attachment_display"), Mime->Data, &SubTP); - cal_process_object(Mime->Data, cal, 0, Mime->msgnum, ChrPtr(Mime->PartNum)); + // cal_process_object(Mime->Data, cal, 0, Mime->msgnum, ChrPtr(Mime->PartNum)); /* Free the memory we obtained from libical's constructor */ icalcomponent_free(cal); -- 2.30.2