aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-url.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-10-04 00:51:50 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-10-04 00:51:50 +0800
commit818f16f74fa2bbdec05a0b76798c506f90d524ce (patch)
treefb1954e27bb28ab899bd60906b60e34504e7b7ce /e-util/e-url.c
parentd536ccea945dfff58d6f09fff835d765e2e9c1bf (diff)
downloadgsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar.gz
gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar.zst
gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.zip
default protocol to file: if not specified
2001-10-03 Rodrigo Moya <rodrigo@ximian.com> * e-url.c (e_url_new): default protocol to file: if not specified svn path=/trunk/; revision=13377
Diffstat (limited to 'e-util/e-url.c')
-rw-r--r--e-util/e-url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-url.c b/e-util/e-url.c
index 496cd87981..34f28ab2f7 100644
--- a/e-util/e-url.c
+++ b/e-util/e-url.c
@@ -138,6 +138,8 @@ e_uri_new (const char *uri_string)
g_strdown (uri->protocol);
uri_string = p + 1;
}
+ else
+ uri->protocol = g_strdup ("file");
if (!*uri_string)
return uri;