CLEANUP: auth: make the code build again with DEBUG_AUTH

Reported by Cyril Bont, minor issue caused by recent ACL rework.
This commit is contained in:
Willy Tarreau 2012-05-10 23:25:35 +02:00
parent 4a3fd4c8df
commit b95095979c
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ check_user(struct userlist *ul, unsigned int group_mask, const char *user, const
#ifdef DEBUG_AUTH
fprintf(stderr, "cfg: user=%s, pass=%s, group_mask=%u, flags=%X",
u->user, u->pass, u->group_mask, u->flags);
u->user, u->pass, u->u.group_mask, u->flags);
#endif
/*

View File

@ -6685,7 +6685,7 @@ int check_config_validity()
fprintf(stderr, "group %s, id %d, mask %08X, users:", curuserlist->groups[g], g , 1 << g);
for (curuser = curuserlist->users; curuser; curuser = curuser->next) {
if (curuser->group_mask & (1 << g))
if (curuser->u.group_mask & (1 << g))
fprintf(stderr, " %s", curuser->user);
}