diff options
author | Gustavo Sverzut Barbieri <barbieri@profusion.mobi> | 2016-08-23 19:59:24 -0300 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@profusion.mobi> | 2016-08-23 20:17:13 -0300 |
commit | a1526169e7925677ef9c9eaf742ef1c8d8d13bf6 (patch) | |
tree | 37cd3ff4ddaf25be89ec022f8e289491350a173a | |
parent | 220ef2eb211117429ebacaeb624eeb7de63b5753 (diff) | |
download | efl-a1526169e7925677ef9c9eaf742ef1c8d8d13bf6.tar.gz |
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.
-rw-r--r-- | src/examples/ecore/efl_io_copier_example.c | 4 |
1 files 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 6fee399920..ffcd39db72 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 */ ); |