Use FOR_LIST_ELEMENTS convenience macros

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-26 19:32:21 +01:00
parent 42ca71ca47
commit 3f8ae91c09
5 changed files with 8 additions and 8 deletions

View file

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