[Modify] Polish it
This commit is contained in:
parent
75196169e4
commit
8336dd4be0
@ -182,7 +182,7 @@ namespace WebSocketSharp.Server
|
|||||||
|
|
||||||
var addr = host.ToIPAddress ();
|
var addr = host.ToIPAddress ();
|
||||||
if (addr == null) {
|
if (addr == null) {
|
||||||
msg = "It could not be converted to an IP address.";
|
msg = "The host part could not be converted to an IP address.";
|
||||||
throw new ArgumentException (msg, "url");
|
throw new ArgumentException (msg, "url");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user