aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-url.c2
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;