]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r322669
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Sep 2017 01:32:45 +0000 (01:32 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Sep 2017 01:32:45 +0000 (01:32 +0000)
commita38afabf97a8f809f2c2e238cf5e94f7cc792438
tree981d6ec8f8cc02fa2ee8dd2a8e4345f08b1f3c01
parentf6b1e6d995020dcec13d641040a4b97dc19cf9e0
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@323660 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libfetch/common.c