diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 8f9ec8bbc63e7f7bc6751600234e48e52225b4a7..314f59b10154a39e83709a6bf7f6c184af8fcaf5 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
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;