diff options
Diffstat (limited to 'src/zabbix_server/httppoller/httptest.c')
-rw-r--r-- | src/zabbix_server/httppoller/httptest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/zabbix_server/httppoller/httptest.c b/src/zabbix_server/httppoller/httptest.c index 9b57d866836..0a52b61b395 100644 --- a/src/zabbix_server/httppoller/httptest.c +++ b/src/zabbix_server/httppoller/httptest.c @@ -662,8 +662,7 @@ static void process_httptest(DC_HOST *host, zbx_httptest_t *httptest, int *delay if (CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_PROXY, httptest->httptest.http_proxy)) || CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_COOKIEFILE, "")) || CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_USERAGENT, httptest->httptest.agent)) || - CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_ERRORBUFFER, errbuf)) || - CURLE_OK != (err = curl_easy_setopt(easyhandle, ZBX_CURLOPT_ACCEPT_ENCODING, ""))) + CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_ERRORBUFFER, errbuf))) { err_str = zbx_strdup(err_str, curl_easy_strerror(err)); goto clean; |