From: adam Date: Wed, 7 Jul 2004 08:56:36 +0000 (+0000) Subject: date defaults to current date in IMAP X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0bce16eadf2188fbc0758b67953c9d9f24c28dcd;p=org.ibex.mail.git date defaults to current date in IMAP darcs-hash:20040707085636-5007d-7fdbf36f40c021173af399fefaa91218423f50b6.gz --- diff --git a/src/org/ibex/mail/protocol/IMAP.java b/src/org/ibex/mail/protocol/IMAP.java index 8286fa8..a808c6b 100644 --- a/src/org/ibex/mail/protocol/IMAP.java +++ b/src/org/ibex/mail/protocol/IMAP.java @@ -298,7 +298,7 @@ public class IMAP { case APPEND: { String m = token().astring(); int flags = 0; - Date arrival = null; + Date arrival = new Date(); Parser.Token t = token(); if (t.type == t.LIST) { flags = t.flags(); t = token(); } if (t.type != t.QUOTED) { arrival = t.datetime(); t = token(); }