Fix "IP address not available" error message

This commit is contained in:
Holger Weiss 2015-03-24 17:32:57 +01:00
parent 736710cc9c
commit 27a4d783a5
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ normalize_proto(UnknownProto) ->
socket_error(Reason, PortIP, Module, SockOpts, Port, IPS) ->
ReasonT = case Reason of
eaddrnotavail ->
"IP address not available: " ++ IPS;
"IP address not available: " ++ binary_to_list(IPS);
eaddrinuse ->
"IP address and port number already used: "
++binary_to_list(IPS)++" "++integer_to_list(Port);