mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
fetchurl: with_libc around curl_global_init
This is needed when downloading files via https.
This commit is contained in:
committed by
Christian Helmuth
parent
57bfd09328
commit
e40b3bbb30
@@ -79,7 +79,7 @@ void Libc::Component::construct(Libc::Env &env)
|
||||
Genode::Path<256> path;
|
||||
CURLcode res = CURLE_OK;
|
||||
|
||||
curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||
Libc::with_libc([&]() { curl_global_init(CURL_GLOBAL_DEFAULT); });
|
||||
|
||||
Genode::Xml_node config_node = config.xml();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user