mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r2093: Fix for Bug 1416. This must have been a cut&paste error from add_gid....
Thanks to Jonas Olsson for the bug report & fix. Volker
This commit is contained in:
parent
2bf08aaa37
commit
de0eaf7be7
@ -3245,9 +3245,6 @@ static void add_uid_to_array_unique(uid_t uid, uid_t **uids, int *num)
|
||||
{
|
||||
int i;
|
||||
|
||||
if ((*num) >= groups_max())
|
||||
return;
|
||||
|
||||
for (i=0; i<*num; i++) {
|
||||
if ((*uids)[i] == uid)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user