X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;ds=sidebyside;f=webcit%2Fevent.c;h=6ae2a5ac35adb25d6d0603633c2ed6ae5b53703f;hb=814d4bec141c8374ef72a60aeeded0d696483c5e;hp=b0f41ca2d4cf03878ad7805bc55f12a6f068e2e1;hpb=365486138be56986caacae617f362cc8df64b24b;p=citadel.git diff --git a/webcit/event.c b/webcit/event.c index b0f41ca2d..6ae2a5ac3 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -1170,7 +1170,7 @@ STARTOVER: for (attendee = icalcomponent_get_first_property(vevent, ICAL_ATTENDE } } if (buf[0] == '2') { - strcpy(WC->ImportantMessage, &buf[4]); + StrBufAppendBufPlain(WC->ImportantMsg, buf, -1, 4); } icalmemory_free_ring (); icalcomponent_free(encaps);