make git compileable again. more work on this topic needed.
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 23 Sep 2012 14:19:47 +0000 (16:19 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 23 Sep 2012 14:19:47 +0000 (16:19 +0200)
webcit/ical_subst.c

index 32b7382e9bdf26822d4f070104178c991cf45101..a0b2f895f7fc03561a7788cd7b60c2c896638e9d 100644 (file)
@@ -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);