authd: fix fencepost error
This commit is contained in:
parent
a9b809c796
commit
c6ebd4fdad
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ handle_options(int parc, char *parv[])
|
|||
{
|
||||
struct auth_opts_handler *handler;
|
||||
|
||||
if(parc < 4)
|
||||
if(parc < 3)
|
||||
{
|
||||
warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 4 expected, got %d)", parc);
|
||||
warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 3 expected, got %d)", parc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue