Merge from accidental commit to RELENG_5:
Correctly identify the host and port values on a failed getaddrinfo lookup.
This commit is contained in:
parent
78b6fc8d2d
commit
b258da0fa9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154909
@ -326,7 +326,7 @@ main(int argc, char *argv[])
|
||||
error = getaddrinfo(env_HTTP_PROXY ? env_HTTP_PROXY : servername,
|
||||
env_HTTP_PROXY ? proxyport : "http", &hints, &res0);
|
||||
if (error)
|
||||
errx(1, "%s: host = %s, port = %s",
|
||||
errx(1, "host = %s, port = %s: %s",
|
||||
env_HTTP_PROXY ? env_HTTP_PROXY : servername,
|
||||
env_HTTP_PROXY ? proxyport : "http",
|
||||
gai_strerror(error));
|
||||
|
Loading…
Reference in New Issue
Block a user