From 850ced64feec110f8930c1f53ebe6241c8304c59 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Sat, 2 Apr 2016 20:42:20 -0500 Subject: [PATCH] authd: options can have no parameters. This is used for deleting all blacklists for instance. --- authd/authd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/authd.c b/authd/authd.c index b122db2e..1f45e036 100644 --- a/authd/authd.c +++ b/authd/authd.c @@ -78,9 +78,9 @@ handle_options(int parc, char *parv[]) { struct auth_opts_handler *handler; - if(parc < 3) + if(parc < 2) { - warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 3 expected, got %d)", parc); + warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 2 expected, got %d)", parc); return; }