aboutsummaryrefslogtreecommitdiff
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 8f9ec8bb..314f59b1 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -228,8 +228,8 @@ main (int argc, char **argv)
state_text (result), elapsed_time,
verbose?", ":"", verbose?buffer:"",
perfdata ("time", microsec, "us",
- check_warning_time, (long)(1000000*warning_time),
- check_critical_time, (long)(1000000*critical_time),
+ (int)check_warning_time, warning_time,
+ (int)check_critical_time, critical_time,
TRUE, 0, FALSE, 0));
return result;