From 88a6f7ed794e806b4fa0d582e9cbf78896eb1626 Mon Sep 17 00:00:00 2001 From: Alex Kalimulin Date: Tue, 27 Nov 2018 14:26:51 +0000 Subject: ...G....S. [ZBX-15178] fixed wrong behaviour when referencing unexisting capture groups in item regexp preprocessing, general pcre code improvements --- include/zbxregexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zbxregexp.h') diff --git a/include/zbxregexp.h b/include/zbxregexp.h index 79409bf9b83..813c564de34 100644 --- a/include/zbxregexp.h +++ b/include/zbxregexp.h @@ -37,7 +37,7 @@ typedef struct zbx_expression_t; /* regular expressions */ -int zbx_regexp_compile(const char *pattern, zbx_regexp_t **regexp, const char **error); +int zbx_regexp_compile(const char *pattern, zbx_regexp_t **regexp, const char **err_msg_static); int zbx_regexp_compile_ext(const char *pattern, zbx_regexp_t **regexp, int flags, const char **error); void zbx_regexp_free(zbx_regexp_t *regexp); int zbx_regexp_match_precompiled(const char *string, const zbx_regexp_t *regexp); -- cgit v1.2.3