summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-08-07 16:34:57 +0000
committerStef Walter <stef@memberwebs.com>2006-08-07 16:34:57 +0000
commitab73e5c71e4131dd25681cf8492b7d47f751edea (patch)
treef606bddf84c7388d9001b9670ebb16ef5a1e4140 /common
parentaf9c5fc92f0a9c5b5becfdbcb9f6d3a4b80ad723 (diff)
Better messages when an OID is too short.
Diffstat (limited to 'common')
-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;