* Attempting to set anything else calls a stub which fools the client into
* thinking that there is no remaining space available to store annotations.
*/
* Attempting to set anything else calls a stub which fools the client into
* thinking that there is no remaining space available to store annotations.
*/
- if (strcasecmp(parms[3], "/vendor/kolab/folder-type")) {
- cprintf("%s NO [METADATA TOOMANY] SETMETADATA failed\r\n", parms[0]);
+ if (strcasecmp(Params[3].Key, "/vendor/kolab/folder-type")) {
+ cprintf("%s NO [METADATA TOOMANY] SETMETADATA failed\r\n", Params[0].Key);
* Extract the folder type without any parentheses. Then learn
* the Citadel view type based on the supplied folder type.
*/
* Extract the folder type without any parentheses. Then learn
* the Citadel view type based on the supplied folder type.
*/
- extract_token(set_value, parms[5], 0, ')', sizeof set_value);
+ extract_token(set_value, Params[5].Key, 0, ')', sizeof set_value);
CtdlGetRoomLock(&CC->room, CC->room.QRname);
CC->room.QRdefaultview = set_view;
CtdlPutRoomLock(&CC->room);
CtdlGetRoomLock(&CC->room, CC->room.QRname);
CC->room.QRdefaultview = set_view;
CtdlPutRoomLock(&CC->room);
* Regardless of what the client asked for, we are going to supply them with
* the folder type. It's the only metadata we have anyway.
*/
* Regardless of what the client asked for, we are going to supply them with
* the folder type. It's the only metadata we have anyway.
*/
CtdlUserGoto(roomname, 0, 0, &msgs, &new);
cprintf("* METADATA ");
CtdlUserGoto(roomname, 0, 0, &msgs, &new);
cprintf("* METADATA ");
cprintf(" \"/vendor/kolab/folder-type\" (\"value.shared\" \"");
/* If it's one of our hard-coded default rooms, we know what to do... */
cprintf(" \"/vendor/kolab/folder-type\" (\"value.shared\" \"");
/* If it's one of our hard-coded default rooms, we know what to do... */
CtdlUserGoto(savedroom, 0, 0, &msgs, &new);
}
CtdlUserGoto(savedroom, 0, 0, &msgs, &new);
}