From 7fbf4cc990195e13d50ab6366f25a953b05f38bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 10 Sep 2009 21:11:38 +0000 Subject: [PATCH] * fix freebusy hook --- webcit/calendar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit/calendar.c b/webcit/calendar.c index f0baec2dc..70fddf490 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -812,14 +812,14 @@ void save_event(void) { * Anonymous request of freebusy data for a user */ void do_freebusy(void) -{ /// TODO: request line const char *req) { - const char req[] = ""; +{ + const char *req = ChrPtr(WC->Hdr->HR.ReqLine); char who[SIZ]; char buf[SIZ]; int len; long lines; - extract_token(who, req, 1, ' ', sizeof who); + extract_token(who, req, 0, ' ', sizeof who); if (!strncasecmp(who, "/freebusy/", 10)) { strcpy(who, &who[10]); } -- 2.39.2