[Modify] Polish it
This commit is contained in:
parent
ac44ad80e9
commit
7a4ceaea8e
@ -779,8 +779,8 @@ namespace WebSocketSharp.Net
|
|||||||
if (credentialsFinder == null)
|
if (credentialsFinder == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
var comparison = StringComparison.OrdinalIgnoreCase;
|
var compType = StringComparison.OrdinalIgnoreCase;
|
||||||
if (response.IndexOf (scheme.ToString (), comparison) != 0)
|
if (response.IndexOf (scheme.ToString (), compType) != 0)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
var res = AuthenticationResponse.Parse (response);
|
var res = AuthenticationResponse.Parse (response);
|
||||||
|
Loading…
Reference in New Issue
Block a user