Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] Fixing a couple of warnings (was Prettier printing of enclosed messages)
@ 2009-05-29 13:19 Israel Herraiz
  0 siblings, 0 replies; only message in thread
From: Israel Herraiz @ 2009-05-29 13:19 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-29 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-29 13:19 [sup-talk] [PATCH] Fixing a couple of warnings (was Prettier printing of enclosed messages) Israel Herraiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox