Drop unused timeoput paramter to internal_getlogin
* grp.cc (internal_getgroups): Drop unused timeout parameter. * pwdgrp.h (internal_getgroups): Ditto in prototype. * uinfo.cc (internal_getlogin): Ditto in usage. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -125,7 +125,7 @@ internal_getlogin (cygheap_user &user)
|
||||
pwd = internal_getpwsid (user.sid (), &cldap);
|
||||
pgrp = internal_getgrsid (user.groups.pgsid, &cldap);
|
||||
if (!cygheap->pg.nss_cygserver_caching ())
|
||||
internal_getgroups (0, NULL, &cldap, 3000000U); /* 300ms in 100ns units */
|
||||
internal_getgroups (0, NULL, &cldap);
|
||||
if (!pwd)
|
||||
debug_printf ("user not found in passwd DB");
|
||||
else
|
||||
|
Reference in New Issue
Block a user