[evolution-ews] Fix g_ascii_strcasecmp: assertion 's2 != NULL'



commit 56dc8cff5f902535ac7b8d3dff43a08f31b8b557
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Thu May 15 17:07:47 2014 +0200

    Fix g_ascii_strcasecmp: assertion 's2 != NULL'

 src/calendar/e-cal-backend-ews-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews-utils.c b/src/calendar/e-cal-backend-ews-utils.c
index c13bc10..efa0701 100644
--- a/src/calendar/e-cal-backend-ews-utils.c
+++ b/src/calendar/e-cal-backend-ews-utils.c
@@ -1664,7 +1664,7 @@ convert_vevent_component_to_updatexml (ESoapMessage *msg,
        }
 
        org_email_address = e_ews_collect_organizer (icalcomp);
-       if (org_email_address && g_ascii_strcasecmp (org_email_address, convert_data->user_email)) {
+       if (org_email_address && convert_data->user_email && g_ascii_strcasecmp (org_email_address, 
convert_data->user_email)) {
                e_ews_message_end_item_change (msg);
                return;
        }


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