mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[NETSH] Use the right index in MatchTagsInCmdLine
This commit is contained in:
@@ -404,7 +404,7 @@ MatchTagsInCmdLine(
|
||||
for (j = 0; j < dwTagCount; j++)
|
||||
{
|
||||
DPRINT("Test tag %S\n", pttTags[j].pwszTag);
|
||||
if ((wcslen(pttTags[i].pwszTag) == dwTagLength) &&
|
||||
if ((wcslen(pttTags[j].pwszTag) == dwTagLength) &&
|
||||
(_wcsnicmp(ppwcArguments[i], pttTags[j].pwszTag, dwTagLength) == 0))
|
||||
{
|
||||
DPRINT("Found tag %S\n", pttTags[j].pwszTag);
|
||||
|
||||
Reference in New Issue
Block a user