summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorDirk Mueller <dmueller@suse.com>2026-02-16 11:22:39 +0100
committerGitHub <noreply@github.com>2026-02-16 11:22:39 +0100
commit07a249a5d74a980ca78cead569de5351963cc561 (patch)
tree020e74baf838d6bf0bd93aaed9cc6e6218fd102c /plugins/check_smtp.c
parent423d0c52674bfa4ec49e4ae8bce645131f657f74 (diff)
downloadmonitoring-plugins-07a249a5d74a980ca78cead569de5351963cc561.tar.gz
Fix typo in enum MP_PARSING_SUCCES(S) (#2233)
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 701af7b0..24883fd8 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -735,7 +735,7 @@ check_smtp_config_wrapper process_arguments(int argc, char **argv) {
735 break; 735 break;
736 case 'c': /* critical time threshold */ { 736 case 'c': /* critical time threshold */ {
737 mp_range_parsed tmp = mp_parse_range_string(optarg); 737 mp_range_parsed tmp = mp_parse_range_string(optarg);
738 if (tmp.error != MP_PARSING_SUCCES) { 738 if (tmp.error != MP_PARSING_SUCCESS) {
739 die(STATE_UNKNOWN, "failed to parse critical time threshold"); 739 die(STATE_UNKNOWN, "failed to parse critical time threshold");
740 } 740 }
741 result.config.connection_time = 741 result.config.connection_time =
@@ -743,7 +743,7 @@ check_smtp_config_wrapper process_arguments(int argc, char **argv) {
743 } break; 743 } break;
744 case 'w': /* warning time threshold */ { 744 case 'w': /* warning time threshold */ {
745 mp_range_parsed tmp = mp_parse_range_string(optarg); 745 mp_range_parsed tmp = mp_parse_range_string(optarg);
746 if (tmp.error != MP_PARSING_SUCCES) { 746 if (tmp.error != MP_PARSING_SUCCESS) {
747 die(STATE_UNKNOWN, "failed to parse warning time threshold"); 747 die(STATE_UNKNOWN, "failed to parse warning time threshold");
748 } 748 }
749 result.config.connection_time = 749 result.config.connection_time =