0,
SuperTP.Tokens);
FlushStrBuf(Mime->Data);
- DoTemplate(HKEY("ical_attachment_display"), Mime->Data, &SubTP);
+/// DoTemplate(HKEY("ical_attachment_display"), Mime->Data, &SubTP);
+ DoTemplate(HKEY("ical_edit"), Mime->Data, &SubTP);
/*/ cal_process_object(Mime->Data, cal, 0, Mime->msgnum, ChrPtr(Mime->PartNum)); */
Done = 1;
}
else {
- Conflict = (CalendarConflict *) malloc(sizeof(CalendarConflict *));
+ Conflict = (CalendarConflict *) malloc(sizeof(CalendarConflict));
Conflict->conflict_event_uid = NewStrBufPlain(NULL, StrLength(Line));
Conflict->conflict_event_summary = NewStrBufPlain(NULL, StrLength(Line));
Pos = NULL;
}
}
- syslog(9, "...done.\n");
+ FreeStrBuf(&Line);
+ syslog(LOG_DEBUG, "...done.\n");
return Conflicts;
}
(void)
{
RegisterCTX(CTX_ICAL);
-//*
+/*
RegisterMimeRenderer(HKEY("text/calendar"), render_MIME_ICS_TPL, 1, 501);
RegisterMimeRenderer(HKEY("application/ics"), render_MIME_ICS_TPL, 1, 500);
-//*/
+*/
CreateIcalComponendKindLookup ();
RegisterConditional("COND:ICAL:PROPERTY", 1, cond_ICalHaveItem, CTX_ICAL);