From f76d925318f8e974957d9702a9164889ab968131 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 14 Sep 2020 11:09:08 +0100 Subject: [PATCH] ecore con url - curl is actually optional and only needs to init on use ecore_con_utl_init is kind of pointless when we can init at the first use of a url and just have it fail. the problem is anyone initting ecore_con's url stuff will then pull in curl at that point and not laer "on first use" which is kind of nw how the dlopen fun was intended, so push it off until then. --- src/lib/ecore_con/ecore_con_url.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/ecore_con/ecore_con_url.c b/src/lib/ecore_con/ecore_con_url.c index b1d95f14f6..1d8d0a5e47 100644 --- a/src/lib/ecore_con/ecore_con_url.c +++ b/src/lib/ecore_con/ecore_con_url.c @@ -49,7 +49,6 @@ ecore_con_url_init(void) if (!ecore_con_init()) goto ecore_con_init_failed; if (!emile_init()) goto emile_init_failed; if (!emile_cipher_init()) goto emile_cipher_init_failed; - _c_init(); ECORE_CON_EVENT_URL_DATA = ecore_event_type_new(); ECORE_CON_EVENT_URL_COMPLETE = ecore_event_type_new(); ECORE_CON_EVENT_URL_PROGRESS = ecore_event_type_new(); @@ -79,7 +78,6 @@ ecore_con_url_shutdown(void) ECORE_CON_EVENT_URL_COMPLETE, ECORE_CON_EVENT_URL_PROGRESS); - _c_shutdown(); emile_shutdown(); /* no emile_cipher_shutdown(), handled here */ ecore_con_shutdown(); ecore_shutdown();