summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-18 11:59:57 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-18 19:54:31 +0900
commita90746378d3c3a0a5201aa4a4e83bf2746721c24 (patch)
tree3ec8a9112a81b963c4bbe8ff458130afc304112e /src/lib
parent784a5b56a3c798e5a8081e2ce30c79cd8ef7b326 (diff)
ecore_con: Avoid safety errors when closing http
When setting EOS on the dialoer, it's possible that it will also get automatically closed (by a callback). This results in safety check error messages, while everything is fine (at least I believe it is).
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.c3
1 files changed, 2 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 3dbaff8a9b..e72575f5c0 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.c
+++ b/src/lib/ecore_con/efl_net_dialer_http.c
@@ -325,7 +325,8 @@ _efl_net_dialer_http_curlm_check(Efl_Net_Dialer_Http_Curlm *cm)
325 if (!efl_io_closer_closed_get(dialer)) 325 if (!efl_io_closer_closed_get(dialer))
326 { 326 {
327 efl_io_reader_eos_set(dialer, EINA_TRUE); 327 efl_io_reader_eos_set(dialer, EINA_TRUE);
328 efl_io_closer_close(dialer); 328 if (!efl_io_closer_closed_get(dialer))
329 efl_io_closer_close(dialer);
329 } 330 }
330 } 331 }
331 332