Subject: [sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode

From: [email-masked] (Ben Walton)
Date: Fri, 16 May 2008 13:00:27 -0400

Hi All,

I bumped into this today and crafted the following small patch
(against the current head of next) to handle it.  If you press 'c' to
edit a Cc header (would happen on To or Bcc also), an exception is
generated if the field is currently empty.  Array.join is called on
nil.  The attached patch just sets the header value to an empty array
before the call to join happens.

-Ben
-- 
---------------------------------------------------------------------------------------------------------------------------
Ben Walton <bdwalton at gmail.com>

When one person suffers from a delusion, it is called insanity. When
many people suffer from a delusion it is called Religion.
Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance

---------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-fix-exception-when-editting-an-empty-MULTI_HEADER.patch
Type: text/x-diff
Size: 986 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080516/26d8c10e/attachment.bin>

---

From: [email-masked] (William Morgan)
Date: Mon, 19 May 2008 14:40:44 -0700

Applied to master, thanks!
-- 
William <wmorgan-sup at masanjin.net>