mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
fetchurl: with_libc around curl_global_init
This is needed when downloading files via https.
This commit is contained in:
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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user