aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Mickler <holger.mickler@web.de>2010-04-27 20:06:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-30 00:40:25 +0800
commit630ddcda511e7c73b7978a630ede52e5c571dc97 (patch)
tree3f220f061d90f4ca6706f9fcaf016517cee45e2f
parent055f30c63b2dfb3149461a1c80ddbc814fddd6c3 (diff)
downloadgsoc2013-evolution-630ddcda511e7c73b7978a630ede52e5c571dc97.tar.gz
gsoc2013-evolution-630ddcda511e7c73b7978a630ede52e5c571dc97.tar.zst
gsoc2013-evolution-630ddcda511e7c73b7978a630ede52e5c571dc97.zip
Bug #615384 - Use contact's free/busy URL only when not empty
-rw-r--r--calendar/gui/e-meeting-store.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c
index 28f171219e..6cfaecabfa 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);