]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_acl.c
war on BSD style curly braces
[citadel.git] / citadel / modules / imap / imap_acl.c
index 0cd272860dfd887c4cff122d3421360cd7517c02..450d5ebf218864a0abd64a1c2d97edb052134621 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * Functions which implement RFC2086 (and maybe RFC4314) (IMAP ACL extension)
  *
- *
- * Copyright (c) 2007-2011 by the citadel.org team
+ * Copyright (c) 2007-2017 by the citadel.org team
  *
  *  This program is open source software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -171,7 +170,7 @@ void imap_getacl(int num_parms, ConstStr *Params) {
        if (IMAP->selected) {
                strcpy(savedroom, CC->room.QRname);
        }
-       CtdlUserGoto(roomname, 0, 0, &msgs, &new);
+       CtdlUserGoto(roomname, 0, 0, &msgs, &new, NULL, NULL);
 
        IAPuts("* ACL ");
        IPutCParamStr(2);
@@ -206,7 +205,7 @@ void imap_getacl(int num_parms, ConstStr *Params) {
         * our happy day without violent explosions.
         */
        if (IMAP->selected) {
-               CtdlUserGoto(savedroom, 0, 0, &msgs, &new);
+               CtdlUserGoto(savedroom, 0, 0, &msgs, &new, NULL, NULL);
        }
 
        IReply("OK GETACL completed");
@@ -261,7 +260,7 @@ void imap_listrights(int num_parms, ConstStr *Params) {
        if (IMAP->selected) {
                strcpy(savedroom, CC->room.QRname);
        }
-       CtdlUserGoto(roomname, 0, 0, &msgs, &new);
+       CtdlUserGoto(roomname, 0, 0, &msgs, &new, NULL, NULL);
 
        /*
         * Now output the list of rights
@@ -279,7 +278,7 @@ void imap_listrights(int num_parms, ConstStr *Params) {
         * our happy day without violent explosions.
         */
        if (IMAP->selected) {
-               CtdlUserGoto(savedroom, 0, 0, &msgs, &new);
+               CtdlUserGoto(savedroom, 0, 0, &msgs, &new, NULL, NULL);
        }
 
        IReply("OK LISTRIGHTS completed");
@@ -316,7 +315,7 @@ void imap_myrights(int num_parms, ConstStr *Params) {
        if (IMAP->selected) {
                strcpy(savedroom, CC->room.QRname);
        }
-       CtdlUserGoto(roomname, 0, 0, &msgs, &new);
+       CtdlUserGoto(roomname, 0, 0, &msgs, &new, NULL, NULL);
 
        CtdlRoomAccess(&CC->room, &CC->user, &ra, NULL);
        rights = NewStrBuf();
@@ -334,7 +333,7 @@ void imap_myrights(int num_parms, ConstStr *Params) {
         * If a different folder was previously selected, return there now.
         */
        if ( (IMAP->selected) && (strcasecmp(roomname, savedroom)) ) {
-               CtdlUserGoto(savedroom, 0, 0, &msgs, &new);
+               CtdlUserGoto(savedroom, 0, 0, &msgs, &new, NULL, NULL);
        }
 
        IReply("OK MYRIGHTS completed");