diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/config-parser.c | 2 |
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; |