* serv_calendar.c: fixed a bug in the "ICAL freebusy" subcommand which
authorArt Cancro <ajc@citadel.org>
Mon, 26 May 2003 05:30:18 +0000 (05:30 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 26 May 2003 05:30:18 +0000 (05:30 +0000)
  caused it to always fetch the logged in user's freebusy times instead
  of the user specified.

citadel/ChangeLog
citadel/serv_calendar.c

index ff30e5ebea89f0f157c10c8fd43bb7b4057a23d3..e2819bf62ddd92473fe5a39ea4f2e09dd0b65989 100644 (file)
@@ -1,4 +1,9 @@
  $Log$
+ Revision 606.3  2003/05/26 05:30:18  ajc
+ * serv_calendar.c: fixed a bug in the "ICAL freebusy" subcommand which
+   caused it to always fetch the logged in user's freebusy times instead
+   of the user specified.
+
  Revision 606.2  2003/05/22 13:34:30  ajc
  * database_sleepycat.c: added a couple of diagnostic messages to help
    troubleshoot problems with db-4.1.25 on Red Hat Linux 9
@@ -4719,4 +4724,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 d35354048312a073d78a911567a9dddb7da9ee25..ffe7b87de0250e686adc1e601d0e9cf4742825cf 100644 (file)
@@ -1152,7 +1152,7 @@ void ical_freebusy(char *who) {
 
        strcpy(hold_rm, CC->quickroom.QRname);  /* save current room */
 
-       if (getroom(&CC->quickroom, USERCALENDARROOM) != 0) {
+       if (getroom(&CC->quickroom, calendar_room_name) != 0) {
                cprintf("%d Cannot open calendar\n", ERROR+ROOM_NOT_FOUND);
                getroom(&CC->quickroom, hold_rm);
                return;