25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

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

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);