[Modify] Polish it
This commit is contained in:
parent
d82d95c56f
commit
549a9c6d57
@ -209,7 +209,7 @@ namespace WebSocketSharp.Net
|
||||
throw new ArgumentException (msg, "uriPrefix");
|
||||
}
|
||||
|
||||
if (root == len - 2) {
|
||||
if (root == end - 1) {
|
||||
var msg = "No path is specified.";
|
||||
|
||||
throw new ArgumentException (msg, "uriPrefix");
|
||||
|
Loading…
Reference in New Issue
Block a user