diff options
author | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2022-03-11 08:55:00 +0300 |
---|---|---|
committer | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2022-03-11 08:55:00 +0300 |
commit | ba5afe60f85d182e40af1499d7ebdab497a5e436 (patch) | |
tree | 2ea0ad8e411f7af4d2e92cd43f0ebbbcdd948aea /tests | |
parent | c984f0de47c6565604ebe0d379da74d5dad66709 (diff) | |
parent | 56ca27a7ffd23565047d5fd8717eda8a50db13c7 (diff) |
.......PS. [ZBXNEXT-7498] update from branch 'master' of ssh://git.zabbix.com:7999/zbx/zabbix into feature/ZBXNEXT-7498-6.1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c b/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c index 9226f24cc8d..c46930c547a 100644 --- a/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c +++ b/tests/libs/zbxsysinfo/common/WEB_PAGE_GET.c @@ -128,7 +128,7 @@ CURLcode __wrap_curl_easy_setopt(CURL *easyhandle, int opt, void *val) req_url = zbx_strdup(req_url, (char*)val); break; case CURLOPT_WRITEFUNCTION: - cb_ptr = val; + *(void **)(&cb_ptr) = val; break; case CURLOPT_WRITEDATA: page_data = val; |