summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
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 =