[Modify] Polish it
This commit is contained in:
parent
7609c9289f
commit
7f1115e427
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user