buybuy plaintext important message.
[citadel.git] / webcit / event.c
index b0f41ca2d4cf03878ad7805bc55f12a6f068e2e1..6ae2a5ac35adb25d6d0603633c2ed6ae5b53703f 100644 (file)
@@ -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);