From: adam Date: Wed, 7 Jul 2004 08:56:05 +0000 (+0000) Subject: typos in IMAP parsing X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=41a213762bfc7c855fb444e9dba378054a6dc49a;p=org.ibex.mail.git typos in IMAP parsing darcs-hash:20040707085605-5007d-40a63e5fd85f1a5565b5faed08d52ce396daf34b.gz --- diff --git a/src/org/ibex/mail/protocol/IMAP.java b/src/org/ibex/mail/protocol/IMAP.java index c82fd30..6c805d7 100644 --- a/src/org/ibex/mail/protocol/IMAP.java +++ b/src/org/ibex/mail/protocol/IMAP.java @@ -296,13 +296,13 @@ public class IMAP { break; } case APPEND: { - String m = token().atom(); + String m = token().astring(); int flags = 0; Date arrival = null; Parser.Token t = token(); if (t.type == t.LIST) { flags = t.flags(); t = token(); } - if (t.type == t.QUOTED) { arrival = t.datetime(); t = token(); } - api.append(m, flags, arrival, token().q()); + if (t.type != t.QUOTED) { arrival = t.datetime(); t = token(); } + api.append(m, flags, arrival, t.q()); break; } case STORE: { selected();