[Modify] Polish it

This commit is contained in:
sta 2020-09-30 19:38:31 +09:00
parent 59537da25b
commit e15ac24761

View File

@ -90,8 +90,11 @@ namespace WebSocketSharp.Net
throw new HttpListenerException (87, msg); throw new HttpListenerException (87, msg);
} }
if (!addr.IsLocal ()) if (!addr.IsLocal ()) {
throw new HttpListenerException (87, "Includes an invalid host."); var msg = "The URI prefix includes an invalid host.";
throw new HttpListenerException (87, msg);
}
int port; int port;