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



commit 630ddcda511e7c73b7978a630ede52e5c571dc97
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 28f1712..6cfaeca 100644
--- a/calendar/gui/e-meeting-store.c
+++ b/calendar/gui/e-meeting-store.c
@@ -1258,6 +1258,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]