Don't output a space between imap namespaces
authorArt Cancro <ajc@citadel.org>
Tue, 26 Oct 2010 22:51:36 +0000 (18:51 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 26 Oct 2010 22:51:36 +0000 (18:51 -0400)
(patch suggested by samjam to fix javamail errors)

citadel/modules/imap/serv_imap.c

index a7c3cb1956f3898b20dd3b9f9cbab342490c5615..cd0de575d0f6fd4e96aeebf5905695a26aea8228 100644 (file)
@@ -912,7 +912,7 @@ void imap_namespace(int num_parms, ConstStr *Params)
        for (i = 0; i < MAXFLOORS; ++i) {
                fl = CtdlGetCachedFloor(i);
                if (fl->f_flags & F_INUSE) {
-                       if (floors > 0) cprintf(" ");
+                       /* if (floors > 0) cprintf(" "); samjam says this confuses javamail */
                        cprintf("(");
                        snprintf(Namespace, sizeof(Namespace), "%s/", fl->f_name);
                        plain_imap_strout(Namespace);