Subject: [sup-talk] [PATCH] Fixing a couple of warnings (was Prettier printing of enclosed messages)

From: [email-masked] (Israel Herraiz)
Date: Fri, 29 May 2009 15:19:23 +0200

The patch introduced a couple of warnings. They are fixed with the
attached patch.

Cheers,
Israel

---
 lib/sup/message.rb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/sup/message.rb b/lib/sup/message.rb
index 72ec6c5..422aafb 100644
--- a/lib/sup/message.rb
+++ b/lib/sup/message.rb
@@ -392,9 +392,9 @@ private
         subj = Rfc2047.decode_to $encoding, subj
       end
       msgdate = payload.header.date
-      from_person = from ? Person.from_address (from) : nil
-      to_people = to ? Person.from_address_list (to) : nil
-      cc_people = cc ? Person.from_address_list (cc) : nil
+      from_person = from ? Person.from_address(from) : nil
+      to_people = to ? Person.from_address_list(to) : nil
+      cc_people = cc ? Person.from_address_list(cc) : nil
       [Chunk::EnclosedMessage.new(from_person, to_people, cc_people,
msgdate, subj)] + message_to_chunks(payload, encrypted)
     else
       filename =
-- 
1.6.3.1