summaryrefslogtreecommitdiff
path: root/common/config-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/config-parser.c')
-rw-r--r--common/config-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-parser.c b/common/config-parser.c
index c096104..63c1bbb 100644
--- a/common/config-parser.c
+++ b/common/config-parser.c
@@ -354,7 +354,7 @@ cfg_parse_uri (char *uri, char** scheme, char** host, char** user, char** path)
if(!*host[0])
return "invalid uri: no host name found";
- if(!uri || !uri[0] || !uri[1])
+ if(!uri || !uri[0])
return "invalid uri: no path found";
*path = uri;