[Modify] Polish it
This commit is contained in:
parent
53c941c869
commit
ec2e24aa21
@ -935,8 +935,9 @@ namespace WebSocketSharp.Net
|
||||
|
||||
private static bool isRestricted (string name, bool response)
|
||||
{
|
||||
var info = getHeaderInfo (name);
|
||||
return info != null && info.IsRestricted (response);
|
||||
var headerInfo = getHeaderInfo (name);
|
||||
|
||||
return headerInfo != null && headerInfo.IsRestricted (response);
|
||||
}
|
||||
|
||||
private void removeWithoutCheckingName (string name, string unuse)
|
||||
|
Loading…
Reference in New Issue
Block a user