Skip to content

Commit 631d3a2

Browse files
committed
hygiene, make bool statement to yield bool return type
1 parent 0d215b9 commit 631d3a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/evical.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,10 +2593,10 @@ mrulsp_icalify(int whither, const mrulsp_t *mr)
25932593
void
25942594
echs_prnt_ical_event(echs_task_t t, echs_event_t ev)
25952595
{
2596-
send_ical_hdr(STDOUT_FILENO, t->vtod_typ);
2596+
send_ical_hdr(STDOUT_FILENO, t->vtod_typ > VTOD_TYP_UNK);
25972597
send_ev(STDOUT_FILENO, ev, 0U);
25982598
send_task(STDOUT_FILENO, t);
2599-
send_ical_ftr(STDOUT_FILENO, t->vtod_typ);
2599+
send_ical_ftr(STDOUT_FILENO, t->vtod_typ > VTOD_TYP_UNK);
26002600
return;
26012601
}
26022602

0 commit comments

Comments
 (0)