]> code.citadel.org Git - citadel.git/blobdiff - webcit/calendar.c
* Calendar objects UID now generated by generate_uuid() which creates
[citadel.git] / webcit / calendar.c
index 91a2c413a91bb30bf4c37dc88e82a91b1d39b952..a28eadaa3f94e5746d065c3dfb31e5e8a856877f 100644 (file)
@@ -672,7 +672,7 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum) {
                lprintf(9, "Give this task a UID if it doesn't have one.\n");
                if (icalcomponent_get_first_property(vtodo,
                   ICAL_UID_PROPERTY) == NULL) {
-                       generate_new_uid(buf);
+                       generate_uuid(buf);
                        icalcomponent_add_property(vtodo,
                                icalproperty_new_uid(buf)
                        );