summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2008-05-19 10:25:42 +0000
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-05-19 10:25:42 +0000
commitbfa7848dc5f23e952d3f062bc44da5158285824a (patch)
tree900533eac3bcbe140acfc400019328bb4df5b845
parent9a2f9b826e8a8488f150846ddf7136e16ce959e2 (diff)
downloadevolution-data-server-bfa7848dc5f23e952d3f062bc44da5158285824a.tar.gz
Added a necessary condition to handle a specific server response and to
2008-05-19 Sankar P <psankar@novell.com> * camel-groupwise-folder.c: (gw_update_summary): Added a necessary condition to handle a specific server response and to prevent a crash. ** Fix for bug #530514 svn path=/trunk/; revision=8808
-rw-r--r--camel/providers/groupwise/ChangeLog8
-rw-r--r--camel/providers/groupwise/camel-groupwise-folder.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog
index e48deb3c7..db61a80f8 100644
--- a/camel/providers/groupwise/ChangeLog
+++ b/camel/providers/groupwise/ChangeLog
@@ -1,5 +1,13 @@
2008-05-19 Sankar P <psankar@novell.com>
+ * camel-groupwise-folder.c: (gw_update_summary):
+ Added a necessary condition to handle a specific server response
+ and to prevent a crash.
+
+ ** Fix for bug #530514
+
+2008-05-19 Sankar P <psankar@novell.com>
+
* camel-groupwise-folder.c: (groupwise_folder_get_message),
(gw_update_cache):
Large memory leak while syncing mails for offline usage.
diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c
index 94ec68842..7418b6a54 100644
--- a/camel/providers/groupwise/camel-groupwise-folder.c
+++ b/camel/providers/groupwise/camel-groupwise-folder.c
@@ -1570,7 +1570,7 @@ gw_update_summary ( CamelFolder *folder, GList *list,CamelException *ex)
str = g_string_append (str, " ");
}
- if (org->display_name[0] == '\0') {
+ if (org->display_name && org->display_name[0] == '\0') {
str = g_string_append (str, org->email);
str = g_string_append (str, " ");