From: Art Cancro Date: Sat, 6 Dec 2008 18:39:06 +0000 (+0000) Subject: * Remove ALL calendar recipient crapola in X-Git-Tag: v7.86~1741 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d8c5211db389e3155a846511df52d2992013ca66 * Remove ALL calendar recipient crapola in parentheses, not just the first one. Fixes bug 437. --- diff --git a/webcit/event.c b/webcit/event.c index 9240884b9..ae3417462 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -1018,7 +1018,11 @@ void save_individual_event(icalcomponent *supplied_vevent, long msgnum, char *fr /* First, strip out the parenthesized partstats. */ strcpy(form_attendees, bstr("attendees")); - stripout(form_attendees, '(', ')'); + do { + i = strlen(form_attendees); + stripout(form_attendees, '(', ')'); + j = strlen(form_attendees); + } while (i != j); /* Next, change any commas to newlines, because we want newline-separated attendees. */ j = strlen(form_attendees);