[evolution-patches] Fix for bug #63513 [calendar]



Hi,
   We should do case insensitive comaprison between the email ids.

thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.326
diff -u -p -r1.326 ChangeLog
--- ChangeLog	5 Sep 2004 13:04:19 -0000	1.326
+++ ChangeLog	5 Sep 2004 13:39:39 -0000
@@ -1,4 +1,11 @@
 2004-09-05  Chenthill Palanisamy <pchenthill novell com>
+
+	Fixes 63513
+	* backends/groupwise/e-cal-backends-groupwise-utils.c
+	(e_gw_connection_send_appointment): Do a case insensitive
+	comparison between the email ids.
+	
+2004-09-05  Chenthill Palanisamy <pchenthill novell com>
 	
 	* libecal/e-cal-utils.h:
        	defined two macros for the handling the static capabilities for 
Index: backends/groupwise/e-cal-backend-groupwise-utils.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise-utils.c,v
retrieving revision 1.31
diff -u -p -r1.31 e-cal-backend-groupwise-utils.c
--- backends/groupwise/e-cal-backend-groupwise-utils.c	27 Aug 2004 05:39:52 -0000	1.31
+++ backends/groupwise/e-cal-backend-groupwise-utils.c	5 Sep 2004 13:39:40 -0000
@@ -685,13 +685,19 @@ e_gw_connection_send_appointment (EGwCon
 		/* get attendee here and add the list along. */
 		if (e_cal_component_has_attendees (comp)) {
 			GSList *attendee_list, *l;
+			char *email_id;
 			ECalComponentAttendee  *attendee = NULL, *tmp;
 
 			
 			e_cal_component_get_attendee_list (comp, &attendee_list);
 			for (l = attendee_list; l ; l = g_slist_next (l)) {
 				tmp = (ECalComponentAttendee *) (l->data);
-				if (!strcmp (tmp->value + 7, e_gw_connection_get_user_email (cnc))) {
+				email_id = tmp->value;
+				
+			if (!g_strncasecmp (email_id, "mailto:";, 7))
+				email_id += 7;
+			
+			if (!strcasecmp (email_id, e_gw_connection_get_user_email (cnc))) {
 					attendee = tmp;
 					break;
 				}


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