diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-10-04 00:51:50 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-10-04 00:51:50 +0800 |
commit | 818f16f74fa2bbdec05a0b76798c506f90d524ce (patch) | |
tree | fb1954e27bb28ab899bd60906b60e34504e7b7ce | |
parent | d536ccea945dfff58d6f09fff835d765e2e9c1bf (diff) | |
download | gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar.gz gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar.bz2 gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar.lz gsoc2013-evolution-818f16f74fa2bbdec05a0b76798c506f90d524ce.tar.xz 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
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-url.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index e11691a740..24160565dd 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2001-10-03 Rodrigo Moya <rodrigo@ximian.com> + + * e-url.c (e_url_new): default protocol to file: if not specified + 2001-10-02 Rodrigo Moya <rodrigo@ximian.com> * e-url.c (e_uri_copy): duplicate also the params member 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; |