barbieri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a1526169e7925677ef9c9eaf742ef1c8d8d13bf6
commit a1526169e7925677ef9c9eaf742ef1c8d8d13bf6 Author: Gustavo Sverzut Barbieri <[email protected]> Date: Tue Aug 23 19:59:24 2016 -0300 efl_io_copier_example: set loop as parent for Efl.Net.Dialer.Tcp although it was working, the correct way is to set a loop provider as Efl.Net.Dialer.Tcp object. --- src/examples/ecore/efl_io_copier_example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/examples/ecore/efl_io_copier_example.c b/src/examples/ecore/efl_io_copier_example.c index 6fee399..ffcd39d 100644 --- a/src/examples/ecore/efl_io_copier_example.c +++ b/src/examples/ecore/efl_io_copier_example.c @@ -427,7 +427,7 @@ main(int argc, char **argv) */ const char *address = input_fname + strlen("tcp://"); Eina_Error err; - input = efl_add(EFL_NET_DIALER_TCP_CLASS, NULL, + input = efl_add(EFL_NET_DIALER_TCP_CLASS, ecore_main_loop_get(), efl_event_callback_array_add(efl_self, input_cbs(), NULL), /* optional */ efl_event_callback_array_add(efl_self, dialer_cbs(), NULL) /* optional */ ); @@ -560,7 +560,7 @@ main(int argc, char **argv) */ const char *address = output_fname + strlen("tcp://"); Eina_Error err; - output = efl_add(EFL_NET_DIALER_TCP_CLASS, NULL, + output = efl_add(EFL_NET_DIALER_TCP_CLASS, ecore_main_loop_get(), efl_event_callback_array_add(efl_self, output_cbs(), NULL), /* optional */ efl_event_callback_array_add(efl_self, dialer_cbs(), NULL) /* optional */ ); --
