summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-03-04 05:08:43 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-03-04 05:08:43 (GMT)
commit2563edba02a6babb9ce0328e33eb4c5b49b437ad (patch)
tree8786332e9cea558942c22695fbf6af853b0834e7 /plugins/check_game.c
parent7d7ca121bcabef8ba669c99388b23c1af0ca745e (diff)
downloadmonitoring-plugins-2563edba02a6babb9ce0328e33eb4c5b49b437ad.tar.gz
use float for time in perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@842 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r--plugins/check_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index 3ebf6af..ac72873 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -152,7 +152,7 @@ main (int argc, char **argv)
152 perfdata ("players", atol(ret[qstat_game_players]), "", 152 perfdata ("players", atol(ret[qstat_game_players]), "",
153 FALSE, 0, FALSE, 0, 153 FALSE, 0, FALSE, 0,
154 TRUE, 0, TRUE, atol(ret[qstat_game_players_max])), 154 TRUE, 0, TRUE, atol(ret[qstat_game_players_max])),
155 perfdata ("ping", atol(ret[qstat_ping_field]), "", 155 fperfdata ("ping", strtod(ret[qstat_ping_field], NULL), "",
156 FALSE, 0, FALSE, 0, 156 FALSE, 0, FALSE, 0,
157 TRUE, 0, FALSE, 0)); 157 TRUE, 0, FALSE, 0));
158 } 158 }