From 08d071348792717763347f2ea6fdb6722fc1f049 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 26 May 2003 05:30:18 +0000 Subject: [PATCH] * 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. --- citadel/ChangeLog | 6 +++++- citadel/serv_calendar.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index ff30e5ebe..e2819bf62 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -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 Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/serv_calendar.c b/citadel/serv_calendar.c index d35354048..ffe7b87de 100644 --- a/citadel/serv_calendar.c +++ b/citadel/serv_calendar.c @@ -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; -- 2.39.2