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
This commit is contained in:

committed by
Rodrigo Moya

parent
d536ccea94
commit
818f16f74f
@ -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;
|
||||
|
Reference in New Issue
Block a user