aqhome-cgi: decreased verbosity.
This commit is contained in:
@@ -586,10 +586,8 @@ void _readModRolesFromForm(GWEN_DB_NODE *dbPost,
|
|||||||
const char *s;
|
const char *s;
|
||||||
|
|
||||||
GBAS(tbuf, roleName);
|
GBAS(tbuf, roleName);
|
||||||
DBG_ERROR(NULL, "Looking for %s", GWEN_Buffer_GetStart(tbuf));
|
|
||||||
s=GWEN_DB_GetCharValue(dbPost, GWEN_Buffer_GetStart(tbuf), 0, NULL);
|
s=GWEN_DB_GetCharValue(dbPost, GWEN_Buffer_GetStart(tbuf), 0, NULL);
|
||||||
if (s && *s) {
|
if (s && *s) {
|
||||||
DBG_ERROR(NULL, "Got %s (%d)[%d]", GWEN_Buffer_GetStart(tbuf), AQH_Role_GetId(role), nextRolePos);
|
|
||||||
if (nextRolePos<AQH_ModulePerms_GetRoleArrayArraySize())
|
if (nextRolePos<AQH_ModulePerms_GetRoleArrayArraySize())
|
||||||
AQH_ModulePerms_SetRoleArrayAt(modPerms, nextRolePos++, AQH_Role_GetId(role));
|
AQH_ModulePerms_SetRoleArrayAt(modPerms, nextRolePos++, AQH_Role_GetId(role));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user