proper interargument spacing in IMAP status response
authoradam <adam@megacz.com>
Wed, 7 Jul 2004 09:01:02 +0000 (09:01 +0000)
committeradam <adam@megacz.com>
Wed, 7 Jul 2004 09:01:02 +0000 (09:01 +0000)
darcs-hash:20040707090102-5007d-a1da70da690fe7ed1621c897797f206d6c447122.gz

src/org/ibex/mail/protocol/IMAP.java

index 9983bf6..d50f1c4 100644 (file)
@@ -286,6 +286,7 @@ public class IMAP {
                         String response = "";
                         for(int i=0; i<list.length; i++) {
                             String s = list[i].atom().toUpperCase();
+                            if (i>0) response += " ";
                             if (s.equals("MESSAGES"))    response += "MESSAGES "    + api.count(mailbox);
                             if (s.equals("RECENT"))      response += "RECENT "      + api.recent(mailbox);
                             if (s.equals("UIDNEXT"))     response += "UIDNEXT "     + api.uidNext(mailbox);