[NETAPI32]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 14 Sep 2013 12:22:36 +0000 (12:22 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 14 Sep 2013 12:22:36 +0000 (12:22 +0000)
NetUserGetLocalGroups: Fix a typo that broke the enumeration of account aliases.

svn path=/trunk/; revision=60099

reactos/dll/win32/netapi32/user.c

index 7213b86..c92704c 100644 (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++;