]> code.citadel.org Git - citadel.git/commitdiff
* serv_ical.c: set expire policy for My Calendar> to manual
authorMichael Hampton <io_error@uncensored.citadel.org>
Thu, 17 Jan 2002 10:13:31 +0000 (10:13 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Thu, 17 Jan 2002 10:13:31 +0000 (10:13 +0000)
citadel/ChangeLog
citadel/serv_ical.c

index aa7f595e9fc831afed4047d2c8aad4629e410c38..cfadb99d44c48f516649a1cf3e054c9d030c2588 100644 (file)
@@ -1,4 +1,7 @@
  $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
@@ -3172,4 +3175,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index c500175e5582691d799ebf22ecc9f80af2c3828a..e65ceda790d69cea45637a6d47e9cc73c14aa9e4 100644 (file)
@@ -45,18 +45,18 @@ void cmd_ical(char *argbuf)
 /* 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;
 }