preserve stringlengths when outputting stuff in the imap module
[citadel.git] / citadel / modules / imap / imap_acl.c
index 0ca96dfc85b7de6d1c0007eded07ffefa0a9dc51..0cd272860dfd887c4cff122d3421360cd7517c02 100644 (file)
@@ -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) {