]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r322669
authormarius <marius@FreeBSD.org>
Sun, 17 Sep 2017 01:32:38 +0000 (01:32 +0000)
committermarius <marius@FreeBSD.org>
Sun, 17 Sep 2017 01:32:38 +0000 (01:32 +0000)
commit4afac37a9da7fb757f1d47bf1dc9105adbc7c0c1
treeef910e4bb3b3237787a285db18613f4a0dedbccb
parente44297aa7c8b20f74352986ad5c27fed648542cc
MFC: r322669

In fetch_resolve() if the port number or service name is included
in the host argument (e. g. "www.freebsd.org:443"), correctly set
the service pointer accordingly.  Previously, the service pointer
was set to the separator instead, causing getaddrinfo(3) to fail.
lib/libfetch/common.c