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



commit a8c0230886aff089084d0ede31d9ee16e2f095bb
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]