X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fcalendar.c;fp=webcit%2Fcalendar.c;h=b1da61c4182a6706362e192c4ea24242c7a4a07d;hp=f0e662226258aaf8757b1ae3a353041cb40ef883;hb=3369975ea949c33c3eeb4a4668d5af402cb8781a;hpb=0b83ae50f5442c82dc8fb11ad3322d90383e34d5 diff --git a/webcit/calendar.c b/webcit/calendar.c index f0e662226..b1da61c41 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -518,9 +518,7 @@ void display_individual_cal(icalcomponent *event, long msgnum, char *from, int u if (cptr) { /* Remove any existing DTSTART properties */ - while ( ps = icalcomponent_get_first_property(cptr, ICAL_DTSTART_PROPERTY), - ps != NULL - ) { + while (ps = icalcomponent_get_first_property(cptr, ICAL_DTSTART_PROPERTY), ps != NULL) { icalcomponent_remove_property(cptr, ps); }