[Modify] Polish it
This commit is contained in:
@@ -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 '/'.";
|
||||
|
||||
|
Reference in New Issue
Block a user