authd: also check size correctly
This commit is contained in:
parent
c63cd21e6a
commit
58c343f4a8
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ handle_reload(int parc, char *parv[])
|
||||||
if(parc < 2)
|
if(parc < 2)
|
||||||
{
|
{
|
||||||
/* Reload all handlers */
|
/* Reload all handlers */
|
||||||
for(size_t i = 0; i < sizeof(authd_reload_handlers); i++)
|
for(size_t i = 0; i < 256; i++)
|
||||||
{
|
{
|
||||||
if ((handler = authd_reload_handlers[(unsigned char) i]) != NULL)
|
if ((handler = authd_reload_handlers[(unsigned char) i]) != NULL)
|
||||||
handler(parv[1][0]);
|
handler(parv[1][0]);
|
||||||
|
|
Loading…
Reference in a new issue