[Modify] Polish it
This commit is contained in:
parent
1617f7b5a6
commit
94bcc841f8
@ -1525,7 +1525,8 @@ namespace WebSocketSharp
|
|||||||
if (idx >= 10)
|
if (idx >= 10)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return value.Substring (0, idx).IsPredefinedScheme ();
|
var schm = value.Substring (0, idx);
|
||||||
|
return schm.IsPredefinedScheme ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user