[evolution-ews/gnome-3-10] Bug #723520 - Crash while syncing updated items



commit a249b955f115d6b649683dbea2327a6ca763b325
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 7 10:59:38 2014 +0100

    Bug #723520 - Crash while syncing updated items
    
    The CamelEwsMessageInfo can contain NULL change_key member, probably
    caused by other crash.

 src/camel/camel-ews-folder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index 40b01e2..1bbb504 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -1264,7 +1264,7 @@ sync_updated_items (CamelEwsFolder *ews_folder,
                }
 
                /* Check if the item has really changed */
-               if (!strcmp (((CamelEwsMessageInfo *) mi)->change_key, id->change_key)) {
+               if (!g_strcmp0 (((CamelEwsMessageInfo *) mi)->change_key, id->change_key)) {
                        camel_message_info_free (mi);
                        g_object_unref (item);
                        continue;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]