]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/serv_imap.c
Don't output a space between imap namespaces
[citadel.git] / citadel / modules / imap / serv_imap.c
index 27c0da4ccbb424f7082b728972d2310d344d7400..cd0de575d0f6fd4e96aeebf5905695a26aea8228 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$ 
- *
  * IMAP server for the Citadel system
  * Copyright (C) 2000-2009 by Art Cancro and others.
  * This code is released under the terms of the GNU General Public License.
@@ -128,7 +126,7 @@ void imap_free_transmitted_message(void)
  */
 void imap_set_seen_flags(int first_msg)
 {
-       struct visit vbuf;
+       visit vbuf;
        int i;
        int num_sets;
        int s;
@@ -914,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);
@@ -1749,5 +1747,5 @@ CTDL_MODULE_INIT(imap)
        }
        
        /* return our Subversion id for the Log */
-       return "$Id$";
+       return "imap";
 }