aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-23 01:56:43 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-23 01:56:43 +0800
commit68d581d982c23a71fac38342835b2cf902771241 (patch)
treece4d2464dff03cee2c1769490f80565e774d71dc
parent3e9a1e10bd489ae3237839c337bd0d43b489e4b4 (diff)
downloadgsoc2013-evolution-68d581d982c23a71fac38342835b2cf902771241.tar.gz
gsoc2013-evolution-68d581d982c23a71fac38342835b2cf902771241.tar.zst
gsoc2013-evolution-68d581d982c23a71fac38342835b2cf902771241.zip
** Fix for bug #350337
svn path=/trunk/; revision=32633
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/message-list.c4
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);
}