diff options
author | Gökay Şatır <gokaysatir@collabora.com> | 2023-12-19 16:58:44 +0300 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@collabora.com> | 2023-12-19 18:33:59 +0100 |
commit | 25c8ea868869b8e5130572647d6fffff8f24b501 (patch) | |
tree | 89df0783a7af50cc566ee6525618ed8f697ec86c | |
parent | a4f3b97e506f38e0c43d6fbf1192cc523750a9fd (diff) |
Add "::InitCurl_easy(curl.get());" call also into Duden Http request function.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I4c5fa2b8ec428ceb882d5b0e7e74b2416217ecf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160990
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r-- | lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx b/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx index e568aa6ea35a..3626a83d2264 100644 --- a/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx +++ b/lingucomponent/source/spellcheck/languagetool/languagetoolimp.cxx @@ -437,6 +437,8 @@ std::string LanguageToolGrammarChecker::makeDudenHttpRequest(std::string_view aU if (!curl) return {}; // empty string + ::InitCurl_easy(curl.get()); + std::string sResponseBody; struct curl_slist* pList = nullptr; SvxLanguageToolOptions& rLanguageOpts = SvxLanguageToolOptions::Get(); |