[NETAPI32]

NetUserGetLocalGroups: Fix a typo that broke the enumeration of account aliases.

svn path=/trunk/; revision=60099
This commit is contained in:
Eric Kohl 2013-09-14 12:22:36 +00:00
parent 1f1d1b19dc
commit e66dc8a754

View file

@ -3118,7 +3118,7 @@ NetUserGetLocalGroups(LPCWSTR servername,
for (i = 0; i < AccountMemberCount; i++)
{
if (BuiltinNames[i].Length > 0)
if (AccountNames[i].Length > 0)
{
Size += (sizeof(LOCALGROUP_USERS_INFO_0) + AccountNames[i].Length + sizeof(UNICODE_NULL));
Count++;