From d8ad904e5aad87c6235e5e8249d2b1506c536b86 Mon Sep 17 00:00:00 2001 From: Andrej Lajovic Date: Wed, 11 Jun 2014 10:12:36 +0200 Subject: Fix caching of group members --- src/userinfo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/userinfo.c b/src/userinfo.c index 89afe6e..1c4b588 100644 --- a/src/userinfo.c +++ b/src/userinfo.c @@ -181,7 +181,6 @@ static int rebuild_gid_cache() if (uid_ent != NULL) { grow_arena(&cache_arena, sizeof(uid_t)); ((uid_t *)ARENA_GET(cache_arena, ent->uids_offset))[ent->uid_count++] = uid_ent->uid; - ++ent->uid_count; } } } -- cgit v1.2.3