[evolution-patches] 61045 connector free/busy bugs



This makes free/busy work on connector again

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.76
diff -u -r1.76 ChangeLog
--- ChangeLog	7 Jul 2004 15:26:39 -0000	1.76
+++ ChangeLog	9 Jul 2004 18:32:34 -0000
@@ -1,3 +1,11 @@
+2004-07-09  Dan Winship  <danw novell com>
+
+	* calendar/e-cal-backend-exchange-calendar.c (set_freebusy_info):
+	Set the start/end of the spans correctly so the freebusy component
+	doesn't end up effectively empty
+	(get_free_busy): Fix the email address in the ORGANIZER props.
+	#61045
+
 2004-07-07  Alfred Peng <alfred peng sun com>
 
 	Fix for bugzilla BUG #59196.
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.8
diff -u -r1.8 e-cal-backend-exchange-calendar.c
--- calendar/e-cal-backend-exchange-calendar.c	3 Jul 2004 05:38:47 -0000	1.8
+++ calendar/e-cal-backend-exchange-calendar.c	9 Jul 2004 18:32:34 -0000
@@ -1101,9 +1101,11 @@
 	const char *span_start, *span_end;
 	E2kBusyStatus busy;
 	icalproperty *prop;
-	time_t end = 0;
+	time_t end;
 
-	for (span_start = span_end = data; *span_start; span_start = span_end, start = end) {
+	for (span_start = span_end = data, end = start;
+	     *span_start;
+	     span_start = span_end, start = end) {
 		busy = E2K_FBCHAR_TO_BUSYSTATUS (*span_start);
 		while (*span_end == *span_start) {
 			span_end++;
@@ -1189,7 +1191,7 @@
 		node = e2k_xml_find_in (item, item, "email");
 		if (!node || !node->children || !node->children->content)
 			continue;
-		org_uri = g_strdup_printf ("MAILTO:%s", node->content);
+		org_uri = g_strdup_printf ("MAILTO:%s", node->children->content);
 		organizer = icalproperty_new_organizer (org_uri);
 		g_free (org_uri);
 


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