summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2017-09-17 16:45:12 +0000
committerMarius Strobl <marius@FreeBSD.org>2017-09-17 16:45:12 +0000
commita97901cccc697ddbc5e5d39df2b47b7f7d8146da (patch)
treef71ce52bfb77fc24d38154b4d5bb419f7939efe1
parentd6964ababb1a5c84fd7e789d9edd801bf53bd7a4 (diff)
Notes
-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 0981a44511f0..87cb815d024c 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;
}