[evolution/gnome-2-30] Bug #615384 - Use contact's free/busy URL only when not empty



commit ec2008c74600e15c4d4de30b78d8a6248f7549e2
Author: Holger Mickler <holger mickler web de>
Date:   Tue Apr 27 14:06:57 2010 +0200

    Bug #615384 - Use contact's free/busy URL only when not empty

 calendar/gui/e-meeting-store.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 8b9f02c..35bd87f 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1285,6 +1285,11 @@ freebusy_async (gpointer data)
 	default_fb_uri = g_strdup (fbd->fb_uri);
 	fburi = g_strdup (e_meeting_attendee_get_fburi (attendee));
 
+	if (fburi && !*fburi) {
+		g_free (fburi);
+		fburi = NULL;
+	}
+
 	if (fburi) {
 		priv->num_queries++;
 		start_async_read (fburi, fbd->qdata);



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