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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index a861a71..79fa482 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -593,7 +593,7 @@ process_arguments (int argc, char **argv)
593#ifdef USE_OPENSSL 593#ifdef USE_OPENSSL
594 if ((temp=strchr(optarg,','))!=NULL) { 594 if ((temp=strchr(optarg,','))!=NULL) {
595 *temp='\0'; 595 *temp='\0';
596 if (!is_intnonneg (temp)) 596 if (!is_intnonneg (optarg))
597 usage2 ("Invalid certificate expiration period", optarg); 597 usage2 ("Invalid certificate expiration period", optarg);
598 days_till_exp_warn = atoi(optarg); 598 days_till_exp_warn = atoi(optarg);
599 *temp=','; 599 *temp=',';