summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-10 20:54:52 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-10 20:54:52 +0100
commit897fef937096c6aae32f9cd80d7b867558596bc5 (patch)
tree8dc950573d6da5452e2f65144c90e2c86fcb0cc1 /plugins/check_smtp.c
parent3cadfa2dbe440c4a07d785c72bb7994be0b0a313 (diff)
downloadmonitoring-plugins-897fef937096c6aae32f9cd80d7b867558596bc5.tar.gz
check_smtp: small improvements
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c4
1 files changed, 2 insertions, 2 deletions
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) {
423 break; 423 break;
424 } 424 }
425 break; 425 break;
426 } while (0); 426 } while (false);
427 } else { 427 } else {
428 result = STATE_CRITICAL; 428 result = STATE_CRITICAL;
429 xasprintf(&error_msg, _("only authtype LOGIN is supported, ")); 429 xasprintf(&error_msg, _("only authtype LOGIN is supported, "));
@@ -462,7 +462,7 @@ int main(int argc, char **argv) {
462/* process command-line arguments */ 462/* process command-line arguments */
463check_smtp_config_wrapper process_arguments(int argc, char **argv) { 463check_smtp_config_wrapper process_arguments(int argc, char **argv) {
464 enum { 464 enum {
465 SNI_OPTION 465 SNI_OPTION = CHAR_MAX + 1
466 }; 466 };
467 467
468 int option = 0; 468 int option = 0;