Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com>2021-12-17 12:02:15 +0300
committerDmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com>2021-12-17 12:02:15 +0300
commit308d7fa47363fd770b57b8fd2e2825d3f019383b (patch)
tree0b199de501716e69fe0edcc5f338e69790b8f869
parent876868379470a7bbc3415138746afb450ebe0976 (diff)
........S. [ZBX-19806] fixed build problem
-rw-r--r--src/libs/zbxembed/httprequest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxembed/httprequest.c b/src/libs/zbxembed/httprequest.c
index 36ae1509735..3f1d82647d6 100644
--- a/src/libs/zbxembed/httprequest.c
+++ b/src/libs/zbxembed/httprequest.c
@@ -548,7 +548,7 @@ static duk_ret_t get_headers_as_arrays(duk_context *ctx, zbx_es_httprequest_t *r
char *ptr, *header;
zbx_vector_ptr_t headers;
duk_idx_t idx;
- int i;
+ int i, j;
zbx_vector_ptr_create(&headers);
@@ -568,7 +568,7 @@ static duk_ret_t get_headers_as_arrays(duk_context *ctx, zbx_es_httprequest_t *r
continue;
}
- for (int j = 0; j < headers.values_num; j++)
+ for (j = 0; j < headers.values_num; j++)
{
zbx_cached_header_t *h = (zbx_cached_header_t*)headers.values[j];