From 2563edba02a6babb9ce0328e33eb4c5b49b437ad Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 4 Mar 2004 05:08:43 +0000 Subject: 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 --- plugins/check_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_game.c') diff --git a/plugins/check_game.c b/plugins/check_game.c index 3ebf6afa..ac72873d 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c @@ -152,7 +152,7 @@ main (int argc, char **argv) perfdata ("players", atol(ret[qstat_game_players]), "", FALSE, 0, FALSE, 0, TRUE, 0, TRUE, atol(ret[qstat_game_players_max])), - perfdata ("ping", atol(ret[qstat_ping_field]), "", + fperfdata ("ping", strtod(ret[qstat_ping_field], NULL), "", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); } -- cgit v1.2.3