summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-14 11:09:08 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-19 18:29:55 +0100
commitf76d925318f8e974957d9702a9164889ab968131 (patch)
tree5f6b53bad93e576ee6c5cb1bb2ec95192e8fd8d3 /src/lib
parent364323881cb229036774200637411094bb02cc9b (diff)
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.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_con/ecore_con_url.c2
1 files changed, 0 insertions, 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)
49 if (!ecore_con_init()) goto ecore_con_init_failed; 49 if (!ecore_con_init()) goto ecore_con_init_failed;
50 if (!emile_init()) goto emile_init_failed; 50 if (!emile_init()) goto emile_init_failed;
51 if (!emile_cipher_init()) goto emile_cipher_init_failed; 51 if (!emile_cipher_init()) goto emile_cipher_init_failed;
52 _c_init();
53 ECORE_CON_EVENT_URL_DATA = ecore_event_type_new(); 52 ECORE_CON_EVENT_URL_DATA = ecore_event_type_new();
54 ECORE_CON_EVENT_URL_COMPLETE = ecore_event_type_new(); 53 ECORE_CON_EVENT_URL_COMPLETE = ecore_event_type_new();
55 ECORE_CON_EVENT_URL_PROGRESS = ecore_event_type_new(); 54 ECORE_CON_EVENT_URL_PROGRESS = ecore_event_type_new();
@@ -79,7 +78,6 @@ ecore_con_url_shutdown(void)
79 ECORE_CON_EVENT_URL_COMPLETE, 78 ECORE_CON_EVENT_URL_COMPLETE,
80 ECORE_CON_EVENT_URL_PROGRESS); 79 ECORE_CON_EVENT_URL_PROGRESS);
81 80
82 _c_shutdown();
83 emile_shutdown(); /* no emile_cipher_shutdown(), handled here */ 81 emile_shutdown(); /* no emile_cipher_shutdown(), handled here */
84 ecore_con_shutdown(); 82 ecore_con_shutdown();
85 ecore_shutdown(); 83 ecore_shutdown();