summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-18 12:02:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-18 19:54:31 +0900
commit81bad9f47c27099e655e124f054e431290cc3aa4 (patch)
tree8a5bbc9b855b403247d5ac227d708715b06b4a19
parenta90746378d3c3a0a5201aa4a4e83bf2746721c24 (diff)
downloadefl-81bad9f47c27099e655e124f054e431290cc3aa4.tar.gz
ecore_con: Always get the loop on init
In case of init/shutdown/init cycles, the loop EO ID has changed, so it must be fetched again.
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_http.c b/src/lib/ecore_con/efl_net_dialer_http.c
index e72575f5c0..99635ff1ba 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.c
+++ b/src/lib/ecore_con/efl_net_dialer_http.c
@@ -1202,7 +1202,7 @@ _efl_net_dialer_http_curl_start(Eo *o, Efl_Net_Dialer_Http_Data *pd)
// TODO: move this to be per-loop once multiple mainloops are supported
// this would need to attach something to the loop
cm = &_cm_global;
- if (!cm->loop) cm->loop = efl_loop_get(o);
+ cm->loop = efl_loop_get(o);
if (!_efl_net_dialer_http_curlm_add(cm, o, pd->easy))
{
ERR("dialer=%p could not add curl easy handle to multi manager", o);