summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r--lib/libfetch/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
index 0981a44..87cb815 100644
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -291,7 +291,7 @@ fetch_resolve(const char *addr, int port, int af)
goto syserr;
service = sbuf;
} else if (*sep != '\0') {
- service = sep;
+ service = sep + 1;
} else {
service = NULL;
}
OpenPOWER on IntegriCloud