[evolution-patches] patch for #73505 (exchange connector)



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.292
diff -u -p -r1.292 ChangeLog
--- ChangeLog	10 Mar 2005 10:02:58 -0000	1.292
+++ ChangeLog	11 Mar 2005 06:11:18 -0000
@@ -1,3 +1,12 @@
+2005-03-11 Sivaiah Nallagatla <snallagatla novell com>
+	
+	* calendar/e-cal-backend-exchange-calendar.c 
+	(add_timezone_cb) (modify_object_with_href) :
+	initialize the izone to NULL befo0re passing it 
+	to get_timzone.
+
+	Fixes #73505 and surely something else
+
 2005-03-10 Sivaiah Nallagatla <snallagatla novell com>
                                                                                            
         * calendar/backends/e-cal-backend-exchange.c
Index: calendar/e-cal-backend-exchange-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-calendar.c,v
retrieving revision 1.38
diff -u -p -r1.38 e-cal-backend-exchange-calendar.c
--- calendar/e-cal-backend-exchange-calendar.c	10 Mar 2005 10:02:58 -0000	1.38
+++ calendar/e-cal-backend-exchange-calendar.c	11 Mar 2005 06:11:18 -0000
@@ -573,7 +573,7 @@ add_timezone_cb (icalparameter *param, v
 	struct _cb_data *cbdata = (struct _cb_data *) data;
 	icalcomponent *vtzcomp;
 	const char *tzid;
-	char *izone;
+	char *izone = NULL;
 
 	g_return_if_fail (cbdata != NULL);
 
@@ -1231,7 +1231,7 @@ modify_object_with_href (ECalBackendSync
 			if (dt.tzid == NULL)
 				from_zone = icaltimezone_get_utc_timezone ();
 			else {
-				char *izone;
+				char *izone = NULL;
 				get_timezone (backend, cal, dt.tzid, &izone);
 				from_zone = icalcomponent_get_timezone (icalcomponent_new_from_string (izone),
 											dt.tzid);


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