From: adam Date: Tue, 17 Aug 2004 23:15:58 +0000 (+0000) Subject: allow LIST to take an astring argument; hack for Eudora X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=565ef8ad7866ba85c1975889d04687f1e1495d6d;p=org.ibex.mail.git allow LIST to take an astring argument; hack for Eudora darcs-hash:20040817231558-5007d-bb9b5e25e7b7abc0b2820d471694baad006e5478.gz --- diff --git a/src/org/ibex/mail/protocol/IMAP.java b/src/org/ibex/mail/protocol/IMAP.java index 3703715..c29468f 100644 --- a/src/org/ibex/mail/protocol/IMAP.java +++ b/src/org/ibex/mail/protocol/IMAP.java @@ -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;