diff options
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 4 |
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) | |||
228 | state_text (result), elapsed_time, | 228 | state_text (result), elapsed_time, |
229 | verbose?", ":"", verbose?buffer:"", | 229 | verbose?", ":"", verbose?buffer:"", |
230 | perfdata ("time", microsec, "us", | 230 | perfdata ("time", microsec, "us", |
231 | check_warning_time, (long)(1000000*warning_time), | 231 | (int)check_warning_time, warning_time, |
232 | check_critical_time, (long)(1000000*critical_time), | 232 | (int)check_critical_time, critical_time, |
233 | TRUE, 0, FALSE, 0)); | 233 | TRUE, 0, FALSE, 0)); |
234 | 234 | ||
235 | return result; | 235 | return result; |