aboutsummaryrefslogtreecommitdiffstats
path: root/src/userinfo.c
diff options
context:
space:
mode:
authorAndrej Lajovic <andrej.lajovic@ki.si>2014-06-11 10:12:36 +0200
committerAndrej Lajovic <andrej.lajovic@ki.si>2014-06-11 10:12:36 +0200
commitd8ad904e5aad87c6235e5e8249d2b1506c536b86 (patch)
tree32f7bbaf0b3e3415fc36ee7ebd1567f1dbced260 /src/userinfo.c
parent3a3a4d86bae97c98ce707964f422861fcfb5218b (diff)
downloadbindfs-d8ad904e5aad87c6235e5e8249d2b1506c536b86.tar.gz
Fix caching of group members
Diffstat (limited to 'src/userinfo.c')
-rw-r--r--src/userinfo.c1
1 files changed, 0 insertions, 1 deletions
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;
}
}
}