$Log$
+ Revision 590.67 2002/01/17 10:13:31 error
+ * serv_ical.c: set expire policy for My Calendar> to manual
+
Revision 590.66 2002/01/17 07:18:11 ajc
* Changed all "free software" references to "open source" in order
to piss off Richard Stallman
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
/* We don't know if the calendar room exists so we just create it at login */
void ical_create_room(void)
{
- char roomname[ROOMNAMELEN];
struct quickroom qr;
/* Create the room if it doesn't already exist */
create_room(USERCALENDARROOM, 4, "", 0, 1);
/* Set expiration policy to manual; otherwise objects will be lost! */
- if (lgetroom(&qr, roomname)) {
+ if (lgetroom(&qr, USERCALENDARROOM)) {
lprintf(3, "Couldn't get the user calendar room!\n");
return;
}
qr.QRep.expire_mode = EXPIRE_MANUAL;
lputroom(&qr);
+ lprintf(9, "Set user calendar room to manual expire\n");
return;
}