[Modify] Polish it

This commit is contained in:
sta 2016-06-04 16:49:11 +09:00
parent 7609c9289f
commit 7f1115e427

View File

@ -431,9 +431,11 @@ namespace WebSocketSharp.Net
do {
prefs = _prefixes;
if (prefs.ContainsKey (prefix)) {
if (prefs[prefix] != listener)
if (prefs[prefix] != listener) {
throw new HttpListenerException (
87, String.Format ("There's another listener for {0}.", prefix));
87, String.Format ("There's another listener for {0}.", prefix)
);
}
return;
}