diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2004-03-14 04:09:19 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2004-03-14 04:09:19 +0000 |
commit | 4e318b9277ba5209fab447da5afa3c0a22a681d9 (patch) | |
tree | 65e99d3a8181584d75726390c5968270c21afa63 /plugins/check_smtp.c | |
parent | b86b521b38a993b49e03f827859aea672fdfa806 (diff) | |
download | monitoring-plugins-4e318b9277ba5209fab447da5afa3c0a22a681d9.tar.gz |
use fperfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@849 f882894a-f735-0410-b71e-b25c423dba1c
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; |