aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-06-17 23:14:55 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-06-17 23:14:55 +0800
commit9c85c50be85ab689fa90b4fd97f3b373967057ab (patch)
treef7c4ce0df6ba96a96b618f7ca7f83536da8558a6 /calendar/gui
parente65a333d1f0c78e86e1181571b2e6e5fd9e9e76a (diff)
downloadgsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.gz
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.bz2
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.lz
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.xz
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.zst
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.zip
check for host being non-NULL in soup uri. host can be null for uri's of
2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/itip-utils.c (itip_publish_comp) : check for host being non-NULL in soup uri. host can be null for uri's of the form file:/foo or http:/foo etc svn path=/trunk/; revision=26390
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/itip-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 156dd08026..ce893a48ec 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1153,7 +1153,7 @@ itip_publish_comp (ECal *client, gchar *uri, gchar *username,
session = soup_session_async_new ();
real_uri = soup_uri_new (uri);
- if (!real_uri) {
+ if (!real_uri || !real_uri->host) {
g_warning (G_STRLOC ": Invalid URL: %s", uri);
g_object_unref (session);
return FALSE;