From 6fc6e86994a678ee6fb0fdcf3976cf8b1944ada2 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:48:05 +0200 Subject: check_mysql_query: Use C99 booleans diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index ac2fb15..842b7a2 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c @@ -162,10 +162,10 @@ main (int argc, char **argv) } printf(_("'%s' returned %f | %s"), sql_query, value, fperfdata("result", value, "", - my_thresholds->warning?TRUE:FALSE, my_thresholds->warning?my_thresholds->warning->end:0, - my_thresholds->critical?TRUE:FALSE, my_thresholds->critical?my_thresholds->critical->end:0, - FALSE, 0, - FALSE, 0) + my_thresholds->warning?true:false, my_thresholds->warning?my_thresholds->warning->end:0, + my_thresholds->critical?true:false, my_thresholds->critical?my_thresholds->critical->end:0, + false, 0, + false, 0) ); printf("\n"); -- cgit v0.10-9-g596f