[Modify] Polish it

This commit is contained in:
sta 2020-09-09 20:01:32 +09:00
parent d82d95c56f
commit 549a9c6d57

View File

@ -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");