diff options
Diffstat (limited to 'plugins/check_mysql_query.d/config.h')
| -rw-r--r-- | plugins/check_mysql_query.d/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mysql_query.d/config.h b/plugins/check_mysql_query.d/config.h index be019160..1c9952e5 100644 --- a/plugins/check_mysql_query.d/config.h +++ b/plugins/check_mysql_query.d/config.h | |||
| @@ -15,7 +15,7 @@ typedef struct { | |||
| 15 | unsigned int db_port; | 15 | unsigned int db_port; |
| 16 | 16 | ||
| 17 | char *sql_query; | 17 | char *sql_query; |
| 18 | thresholds *my_thresholds; | 18 | mp_thresholds thresholds; |
| 19 | } check_mysql_query_config; | 19 | } check_mysql_query_config; |
| 20 | 20 | ||
| 21 | check_mysql_query_config check_mysql_query_config_init() { | 21 | check_mysql_query_config check_mysql_query_config_init() { |
| @@ -30,7 +30,7 @@ check_mysql_query_config check_mysql_query_config_init() { | |||
| 30 | .db_port = MYSQL_PORT, | 30 | .db_port = MYSQL_PORT, |
| 31 | 31 | ||
| 32 | .sql_query = NULL, | 32 | .sql_query = NULL, |
| 33 | .my_thresholds = NULL, | 33 | .thresholds = mp_thresholds_init(), |
| 34 | }; | 34 | }; |
| 35 | return tmp; | 35 | return tmp; |
| 36 | } | 36 | } |
