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) 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; |