* grp.cc (gr_ent::enumerate_caches): Fix copy/paste bug introducing
an endless loop.
This commit is contained in:
parent
03039d4fc2
commit
a5a75a5a98
|
@ -1,3 +1,8 @@
|
|||
2014-05-08 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* grp.cc (gr_ent::enumerate_caches): Fix copy/paste bug introducing
|
||||
an endless loop.
|
||||
|
||||
2014-05-07 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* passwd.cc (pwdgrp::parse_passwd): Fix an off by one computing the
|
||||
|
|
|
@ -364,7 +364,7 @@ gr_ent::enumerate_caches ()
|
|||
return &grf.group ()[cnt++].g;
|
||||
}
|
||||
cnt = 0;
|
||||
max = 1;
|
||||
max = 2;
|
||||
/*FALLTHRU*/
|
||||
case 2:
|
||||
if (from_db)
|
||||
|
|
Loading…
Reference in New Issue