diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2017-12-06 18:22:35 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2017-12-06 18:22:35 +0300 |
commit | d9d817ca2d08cac472199f396ecc608a683a1746 (patch) | |
tree | 018aca8dbd9a3840a9c4fe3d1c3e40cbe671b5b2 /src/libs/zbxjson/json.c | |
parent | e4ba801924531b0002e36542ae79471b8167656e (diff) |
.......... [DEV-753] initial version of test application with assert and utility additions to mock framework
Diffstat (limited to 'src/libs/zbxjson/json.c')
-rw-r--r-- | src/libs/zbxjson/json.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/zbxjson/json.c b/src/libs/zbxjson/json.c index f7979a3c9fd..b0840d7aa79 100644 --- a/src/libs/zbxjson/json.c +++ b/src/libs/zbxjson/json.c @@ -1013,7 +1013,7 @@ static int zbx_jsonpath_error(const char *path) * FAIL - json path parsing error * * * ******************************************************************************/ -static int zbx_jsonpath_next(const char *path, const char **pnext, zbx_strloc_t *loc, int *type) +int zbx_jsonpath_next(const char *path, const char **pnext, zbx_strloc_t *loc, int *type) { const char *next = *pnext; size_t pos; @@ -1198,4 +1198,3 @@ void zbx_json_value_dyn(const struct zbx_json_parse *jp, char **string, size_t * } } - |