projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a306d
)
* Remove ALL calendar recipient crapola in
author
Art Cancro
<ajc@citadel.org>
Sat, 6 Dec 2008 18:39:06 +0000
(18:39 +0000)
committer
Art Cancro
<ajc@citadel.org>
Sat, 6 Dec 2008 18:39:06 +0000
(18:39 +0000)
parentheses, not just the first one. Fixes bug 437.
webcit/event.c
patch
|
blob
|
history
diff --git
a/webcit/event.c
b/webcit/event.c
index 9240884b9ca90b3b481e1cbb2d98bc0bce50b13d..ae3417462b3f6ae17fa57cfcf02cdb6fd5663679 100644
(file)
--- 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);