diff --git a/authd/authd.c b/authd/authd.c index 8040406c..202dae8c 100644 --- a/authd/authd.c +++ b/authd/authd.c @@ -64,7 +64,7 @@ handle_reload(int parc, char *parv[]) if(parc < 2) { /* 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) handler(parv[1][0]);