diff options
author | Diogo Sousa <diogogsousa@gmail.com> | 2013-06-16 19:09:50 +0100 |
---|---|---|
committer | Diogo Sousa <diogogsousa@gmail.com> | 2013-06-16 19:09:50 +0100 |
commit | cb1975f45097020ebd572439266c3e1123d188fa (patch) | |
tree | d61eec9e27d86a5d3b8a2893c5c2eb35a42c04d6 /src/common | |
parent | 805b33552bcf0a70abe57e7d508731353ec8e385 (diff) |
Fixed file:// url matching.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/url.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/url.c b/src/common/url.c index def77628..2fda8f6b 100644 --- a/src/common/url.c +++ b/src/common/url.c @@ -418,7 +418,7 @@ struct { const char *scheme; /* scheme name. e.g. http */ const char *path_sep; /* string that begins the path */ - int flags; /* see above (flag definitions) */ + int flags; /* see above (flag macros) */ } uri[] = { { "irc", "/", URI_AUTHORITY | URI_PATH }, { "ircs", "/", URI_AUTHORITY | URI_PATH }, @@ -437,7 +437,6 @@ struct { "mumble", "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, { "ventrilo", "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, { "xmpp", "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, - { "file", "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, { "h323", ";", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, { "imap", "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, { "pop", "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH }, @@ -451,7 +450,8 @@ struct { "bitcoin", "", URI_PATH }, { "gtalk", "", URI_PATH }, { "steam", "", URI_PATH }, - { NULL, '\0', 0} + { "file", "/", URI_PATH }, + { NULL, "", 0} }; static GRegex * |