From: adam Date: Wed, 11 Aug 2004 01:34:55 +0000 (+0000) Subject: addition to printing functions X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6a7cd79d32cb9cb8d36102138a05f02a65184495;hp=6aa91951ef890746acd9d4764dd4f9e5aad6fabb;p=org.ibex.mail.git addition to printing functions darcs-hash:20040811013455-5007d-230d396a21955a89e9f156850feef4d210868a07.gz --- diff --git a/src/org/ibex/mail/protocol/IMAP.java b/src/org/ibex/mail/protocol/IMAP.java index 8e2c1ed..1c9b5c6 100644 --- a/src/org/ibex/mail/protocol/IMAP.java +++ b/src/org/ibex/mail/protocol/IMAP.java @@ -712,6 +712,7 @@ public class IMAP { public static String addressList(Object a) { if (a == null) return "NIL"; if (a instanceof Address) return "("+address((Address)a)+")"; + if (a instanceof String) return "("+address(Address.parse((String)a))+")"; Address[] aa = (Address[])a; StringBuffer ret = new StringBuffer(); ret.append("(");