diff options
author | Sivaiah Nallagatla <snallagatla@novell.com> | 2004-06-17 23:14:55 +0800 |
---|---|---|
committer | Sivaiah Nallagatla <siva@src.gnome.org> | 2004-06-17 23:14:55 +0800 |
commit | 9c85c50be85ab689fa90b4fd97f3b373967057ab (patch) | |
tree | f7c4ce0df6ba96a96b618f7ca7f83536da8558a6 /calendar/gui/itip-utils.c | |
parent | e65a333d1f0c78e86e1181571b2e6e5fd9e9e76a (diff) | |
download | gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.gz 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/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 2 |
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; |