authd: fix undefined behaviour
This commit is contained in:
parent
3ad21f6107
commit
75844b15af
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ handle_reload(int parc, char *parv[])
|
|||
if(parc < 2)
|
||||
{
|
||||
/* Reload all handlers */
|
||||
for(size_t i = 0; i < sizeof(authd_reload_handlers); handler = authd_reload_handlers[i++])
|
||||
for(size_t i = 0; i < 256; handler = authd_reload_handlers[i++])
|
||||
handler(parv[1][0]);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue