]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_acl.c
preserve stringlengths when outputting stuff in the imap module
[citadel.git] / citadel / modules / imap / imap_acl.c
index 48aae83c032b9636e25e04b95944368a4dd53584..0cd272860dfd887c4cff122d3421360cd7517c02 100644 (file)
@@ -2,9 +2,9 @@
  * Functions which implement RFC2086 (and maybe RFC4314) (IMAP ACL extension)
  *
  *
- * Copyright (c) 2007-2009 by the citadel.org team
+ * Copyright (c) 2007-2011 by the citadel.org team
  *
- *  This program is free software; you can redistribute it and/or modify
+ *  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
  *  the Free Software Foundation; either version 3 of the License, or
  *  (at your option) any later version.
@@ -192,7 +192,7 @@ void imap_getacl(int num_parms, ConstStr *Params) {
                        imap_acl_flags(rights, ra);
                        if (StrLength(rights) > 0) {
                                IAPuts(" ");
-                               plain_imap_strout(temp.fullname);
+                               IPutStr(temp.fullname, strlen(temp.fullname));
                                IAPuts(" ");
                                iaputs(SKEY( rights));
                        }
@@ -221,7 +221,7 @@ void imap_listrights(int num_parms, ConstStr *Params) {
        char savedroom[ROOMNAMELEN];
        int msgs, new;
        int ret;
-       struct recptypes *valid;
+       recptypes *valid;
        struct ctdluser temp;
 
        if (num_parms != 4) {