projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f25961
)
* fix freebusy hook
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 10 Sep 2009 21:11:38 +0000
(21:11 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 10 Sep 2009 21:11:38 +0000
(21:11 +0000)
webcit/calendar.c
patch
|
blob
|
history
diff --git
a/webcit/calendar.c
b/webcit/calendar.c
index f0baec2dc70c3027a564e51cdc2a2956cf04792f..70fddf490e9f21fc87b4ccd5fe2a081b32fb52d1 100644
(file)
--- 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]);
}