270 |
iterate_cal(comp, 0, &id, &compresult, ICAL_VEVENT_COMPONENT); |
iterate_cal(comp, 0, &id, &compresult, ICAL_VEVENT_COMPONENT); |
271 |
|
|
272 |
if (!compresult) { |
if (!compresult) { |
273 |
fprintf(stderr, _("No component found.")); |
fprintf(stderr, _("No component found.\n")); |
274 |
} else { |
} else { |
275 |
const char *str; |
const char *str; |
276 |
icalcomponent *alarm = {0}; |
icalcomponent *alarm = {0}; |
380 |
0), |
0), |
381 |
0); |
0); |
382 |
|
|
383 |
if(pIcal) { |
if (pIcal) { |
384 |
char *icalstrbuf = NULL; |
char *icalstrbuf = NULL; |
385 |
const char *icalstr = icalcomponent_as_ical_string(pIcal); |
const char *icalstr = icalcomponent_as_ical_string(pIcal); |
386 |
/* conversion to UTF-8 */ |
/* conversion to UTF-8 */ |
439 |
iterate_cal(comp, 0, &id, &compresult, ICAL_VTODO_COMPONENT); |
iterate_cal(comp, 0, &id, &compresult, ICAL_VTODO_COMPONENT); |
440 |
|
|
441 |
if (!compresult) { |
if (!compresult) { |
442 |
fprintf(stderr, _("No component found.")); |
fprintf(stderr, _("No component found.\n")); |
443 |
} else { |
} else { |
444 |
const char *priostr = NULL; |
const char *priostr = NULL; |
445 |
icalproperty *priority = icalcomponent_get_first_property(compresult, ICAL_PRIORITY_PROPERTY); |
icalproperty *priority = icalcomponent_get_first_property(compresult, ICAL_PRIORITY_PROPERTY); |