specifically check for NULL return from acl_get()

This commit is contained in:
Ben Collins 2000-09-13 21:49:56 +00:00
parent e366aefffc
commit 810d3ce224

View file

@ -154,7 +154,7 @@ access_allowed(
a = NULL;
count = 0;
while( a = acl_get( a, &count, be, op, e, desc, MAXREMATCHES, matches ) )
while((a = acl_get( a, &count, be, op, e, desc, MAXREMATCHES, matches )) != NULL)
{
int i;