X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar.c;h=abb731a537a2f1b7a16219570b37f141ea19ce6c;hb=HEAD;hp=ce49b34558729079dd231829963decab134a7db7;hpb=fb66defc37a3985fdec47c996e8108e070b94ccf;p=citadel.git diff --git a/webcit/calendar.c b/webcit/calendar.c index ce49b3455..b1da61c41 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -11,7 +11,7 @@ // GNU General Public License for more details. #include "webcit.h" -#include "webserver.h" + #include "calendar.h" // Process a calendar object. At this point it's already been deserialized by cal_process_attachment() @@ -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); }