allow LIST to take an astring argument; hack for Eudora
authoradam <adam@megacz.com>
Tue, 17 Aug 2004 23:15:58 +0000 (23:15 +0000)
committeradam <adam@megacz.com>
Tue, 17 Aug 2004 23:15:58 +0000 (23:15 +0000)
darcs-hash:20040817231558-5007d-bb9b5e25e7b7abc0b2820d471694baad006e5478.gz

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

index 3703715..c29468f 100644 (file)
@@ -260,7 +260,7 @@ public class IMAP {
                     case CAPABILITY:   println("* CAPABILITY " + Printer.join(" ", api.capability())); break;
                     case AUTHENTICATE: throw new Server.No("AUTHENTICATE not supported");
                     case LOGOUT:       api.logout(); println("* BYE"); conn.close(); return;
-                    case LIST:         api.list(token().q(), token().q()); break;
+                    case LIST:         api.list(token().q(), token().astring()); break; /*astring is a hack for EUDORA*/
                     case LSUB:         api.lsub(token().q(), token().q()); break;
                     case SUBSCRIBE:    api.subscribe(token().astring()); break;
                     case UNSUBSCRIBE:  api.unsubscribe(token().astring()); break;