From: Wilfried Goesgens Date: Sun, 28 Oct 2012 11:07:55 +0000 (+0100) Subject: CALENDAR: attendees are to be found on ch not on buf. X-Git-Tag: v8.20~202 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=9348dacacb2328b59eff5f821ba8a00a662160fd CALENDAR: attendees are to be found on ch not on buf. --- diff --git a/webcit/calendar.c b/webcit/calendar.c index b919f001a..2e486dab8 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -178,7 +178,7 @@ void cal_process_object(StrBuf *Target, StrBufAppendPrintf(Target, _("Attendee:")); StrBufAppendPrintf(Target, "
"); ch = icalproperty_get_attendee(p); - if ((ch != NULL) && !strncasecmp(buf, "MAILTO:", 7)) { + if ((ch != NULL) && !strncasecmp(ch, "MAILTO:", 7)) { /** screen name or email address */ safestrncpy(buf, ch + 7, sizeof(buf));