[Modify] Polish it
This commit is contained in:
parent
7609c9289f
commit
7f1115e427
@ -431,9 +431,11 @@ namespace WebSocketSharp.Net
|
|||||||
do {
|
do {
|
||||||
prefs = _prefixes;
|
prefs = _prefixes;
|
||||||
if (prefs.ContainsKey (prefix)) {
|
if (prefs.ContainsKey (prefix)) {
|
||||||
if (prefs[prefix] != listener)
|
if (prefs[prefix] != listener) {
|
||||||
throw new HttpListenerException (
|
throw new HttpListenerException (
|
||||||
87, String.Format ("There's another listener for {0}.", prefix));
|
87, String.Format ("There's another listener for {0}.", prefix)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user