Corrected StringComparison type

This commit is contained in:
Tal Aloni 2017-08-30 12:41:21 +03:00
parent ab7398d3cd
commit 0bc9452bbf
10 changed files with 14 additions and 14 deletions

View file

@ -20,7 +20,7 @@ namespace SMBServer
{
for (int index = 0; index < this.Count; index++)
{
if (string.Equals(this[index].AccountName, accountName, StringComparison.InvariantCultureIgnoreCase))
if (string.Equals(this[index].AccountName, accountName, StringComparison.OrdinalIgnoreCase))
{
return index;
}