Updating branch refs/heads/master
         to a102a9d6e3eaab50970e044fafbc2d61559c95a3 (commit)
       from 52cfae56a1a2fb01427ca9ec689bd0640b81be5f (commit)

commit a102a9d6e3eaab50970e044fafbc2d61559c95a3
Author: Christian Dywan <christ...@twotoasts.de>
Date:   Fri May 27 20:27:48 2011 +0200

    Gracefully proceed if no "To" is in the message

 postler/postler-message.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-message.vala b/postler/postler-message.vala
index d2387a4..ee23465 100644
--- a/postler/postler-message.vala
+++ b/postler/postler-message.vala
@@ -176,7 +176,7 @@ namespace Postler {
                Also Reply-To may equal From, which is at best confusing. */
             if (reply_to != null) {
                 string canonical = Postler.Messages.parse_address 
(reply_to)[1];
-                if (canonical == Postler.Messages.parse_address (get_field 
("to"))[1])
+                if (canonical == Postler.Messages.parse_address (get_field 
("to") ?? "")[1])
                     reply_to = null;
                 else if (get_field ("list-post") != null && canonical == 
get_field ("list-post"))
                     reply_to = null;
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to