Use FOR_LIST_ELEMENTS convenience macros
This commit is contained in:
parent
42ca71ca47
commit
3f8ae91c09
5 changed files with 8 additions and 8 deletions
|
@ -140,7 +140,7 @@ is_authenticated (const char *userlist)
|
|||
if (!superusers)
|
||||
return 1;
|
||||
|
||||
for (user = users; user; user = user->next)
|
||||
FOR_LIST_ELEMENTS (user, users)
|
||||
{
|
||||
if (!(user->authenticated))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue