aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-url.c
diff options
context:
space:
mode:
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;