diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2020-09-18 11:56:27 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2020-09-18 11:56:58 +0300 |
commit | c56642cd7326d02db918f39750642a7e4895b981 (patch) | |
tree | ca29615f995568a774edd6ce96fcce05f6772a59 /include/zbxtrends.h | |
parent | ee1b938f553d47545551a7e549cbf9383e6c0d58 (diff) |
........S. [ZBXNEXT-6140] fixed period calculation, added test cases
Diffstat (limited to 'include/zbxtrends.h')
-rw-r--r-- | include/zbxtrends.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zbxtrends.h b/include/zbxtrends.h index 2a17366f58a..1eddbd7f7c3 100644 --- a/include/zbxtrends.h +++ b/include/zbxtrends.h @@ -25,7 +25,7 @@ int zbx_trends_parse_base(const char *params, zbx_time_unit_t *base, char **error); -int zbx_trends_parse_range(int from, const char *period, const char *period_shift, int *start, int *end, +int zbx_trends_parse_range(time_t from, const char *period, const char *period_shift, int *start, int *end, char **error); int zbx_trends_eval_avg(const char *table, zbx_uint64_t itemid, int start, int end, double *value, char **error); |