From 9348dacacb2328b59eff5f821ba8a00a662160fd Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 28 Oct 2012 12:07:55 +0100 Subject: [PATCH] CALENDAR: attendees are to be found on ch not on buf. --- webcit/calendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2