diff options
author | Andris Mednis <Andris.Mednis@zabbix.com> | 2019-02-20 19:54:41 +0300 |
---|---|---|
committer | Andris Mednis <Andris.Mednis@zabbix.com> | 2019-02-20 19:54:41 +0300 |
commit | 4d4cfa6fc9a6506a86d6cf3c6ef6ea204127c1c4 (patch) | |
tree | bf02714fca493483ae0918d9bee9bf638aa1e61e /include/cfg.h | |
parent | 9573b549ecf420d97f9f79e41850719260035e7f (diff) |
...G...... [ZBXNEXT-4967] renamed 'add_serveractive_hosts_f' to 'add_serveractive_host_f' as it adds only one host
Diffstat (limited to 'include/cfg.h')
-rw-r--r-- | include/cfg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cfg.h b/include/cfg.h index f28deed7632..0f4995ec1cf 100644 --- a/include/cfg.h +++ b/include/cfg.h @@ -62,7 +62,7 @@ int parse_cfg_file(const char *cfg_file, struct cfg_line *cfg, int optional, int int check_cfg_feature_int(const char *parameter, int value, const char *feature); int check_cfg_feature_str(const char *parameter, const char *value, const char *feature); -typedef int (*add_serveractive_hosts_f)(const char *host, unsigned short port); -void zbx_get_serveractive_hosts(char *active_hosts, add_serveractive_hosts_f cb); +typedef int (*add_serveractive_host_f)(const char *host, unsigned short port); +void zbx_get_serveractive_hosts(char *active_hosts, add_serveractive_host_f cb); #endif |