1
0
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:
Volker Lendecke 2004-08-28 10:12:23 +00:00 committed by Gerald (Jerry) Carter
parent 2bf08aaa37
commit de0eaf7be7

View File

@ -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;