[Modify] Polish it
This commit is contained in:
parent
aecd6ffef5
commit
6f56255cca
@ -196,12 +196,6 @@ namespace WebSocketSharp.Net
|
||||
throw new ArgumentException (msg, "uriPrefix");
|
||||
}
|
||||
|
||||
if (root == -1) {
|
||||
var msg = "Ends without '/'.";
|
||||
|
||||
throw new ArgumentException (msg, "uriPrefix");
|
||||
}
|
||||
|
||||
if (uriPrefix[len - 1] != '/') {
|
||||
var msg = "Ends without '/'.";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user