diff options
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/message-list.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index cf0c257b22..7b7f69aa00 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2006-08-22 Srinivasa Ragavan <sragavan@novell.com> + + ** Fix for bug #350337 + + * message-list.c: (ml_tree_value_at): Patch from Daniel Gryniewicz to + check the null string. + 2006-08-22 Andre Klapper <a9016009@gmx.de> * default/C/Inbox: Update the Welcome mail. diff --git a/mail/message-list.c b/mail/message-list.c index 710c520e55..436dddf508 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1407,8 +1407,8 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data) case COL_MIXED_SENDER: case COL_SENDER:{ char **sender_name = NULL; - str = camel_message_info_from (msg_info); - if(str!=""){ + str = camel_message_info_from (msg_info); + if(str && str[0] != '\0'){ sender_name=g_strsplit(str,"<",2); return (void *)(*sender_name); } |