Commit 1d876b8a authored by Matt Selsky's avatar Matt Selsky Committed by Gervase Markham

Bug 811855 - Make the check for sslbase parameter report a failure reason. r=gerv, a=glob.

parent 26913cee
......@@ -99,7 +99,7 @@ sub check_sslbase {
my $iaddr = inet_aton($host) || return "The host $host cannot be resolved";
my $sin = sockaddr_in($port, $iaddr);
if (!connect(SOCK, $sin)) {
return "Failed to connect to $host:$port; unable to enable SSL";
return "Failed to connect to $host:$port ($!); unable to enable SSL";
}
close(SOCK);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment