From 897fef937096c6aae32f9cd80d7b867558596bc5 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:54:52 +0100 Subject: check_smtp: small improvements --- plugins/check_smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_smtp.c') diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index ac0aa45d..324549d4 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -423,7 +423,7 @@ int main(int argc, char **argv) { break; } break; - } while (0); + } while (false); } else { result = STATE_CRITICAL; xasprintf(&error_msg, _("only authtype LOGIN is supported, ")); @@ -462,7 +462,7 @@ int main(int argc, char **argv) { /* process command-line arguments */ check_smtp_config_wrapper process_arguments(int argc, char **argv) { enum { - SNI_OPTION + SNI_OPTION = CHAR_MAX + 1 }; int option = 0; -- cgit v1.2.3-74-g34f1