From e66dc8a75498625bde15cbc3927f3dc9b03f0585 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 14 Sep 2013 12:22:36 +0000 Subject: [PATCH] [NETAPI32] NetUserGetLocalGroups: Fix a typo that broke the enumeration of account aliases. svn path=/trunk/; revision=60099 --- reactos/dll/win32/netapi32/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/netapi32/user.c b/reactos/dll/win32/netapi32/user.c index 7213b864982..c92704c48a3 100644 --- a/reactos/dll/win32/netapi32/user.c +++ b/reactos/dll/win32/netapi32/user.c @@ -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++;