aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
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 /mail/message-list.c
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
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c4
1 files changed, 2 insertions, 2 deletions
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);
}