mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-19 18:59:23 +02:00
Corrected StringComparison type
This commit is contained in:
parent
ab7398d3cd
commit
0bc9452bbf
10 changed files with 14 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue