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++;