summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_control_access_point-connman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_con/efl_net_control_access_point-connman.c')
-rw-r--r--src/lib/ecore_con/efl_net_control_access_point-connman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_con/efl_net_control_access_point-connman.c b/src/lib/ecore_con/efl_net_control_access_point-connman.c
index 32394ab..a54cce2 100644
--- a/src/lib/ecore_con/efl_net_control_access_point-connman.c
+++ b/src/lib/ecore_con/efl_net_control_access_point-connman.c
@@ -751,7 +751,7 @@ _efl_net_control_access_point_connect_cb(void *data, const Eldbus_Message *msg,
751} 751}
752 752
753static void 753static void
754_efl_net_control_access_point_connect_promise_del(void *data, Efl_Loop_Consumer *consumer EINA_UNUSED, const Eina_Promise *dead_ptr) 754_efl_net_control_access_point_connect_promise_del(void *data, const Eina_Promise *dead_ptr)
755{ 755{
756 Eldbus_Pending *p = data; 756 Eldbus_Pending *p = data;
757 Efl_Net_Control_Access_Point_Data *pd; 757 Efl_Net_Control_Access_Point_Data *pd;
@@ -773,7 +773,7 @@ _efl_net_control_access_point_connect(Eo *o, Efl_Net_Control_Access_Point_Data *
773 Eina_Promise *promise; 773 Eina_Promise *promise;
774 Eina_Future *f = NULL; 774 Eina_Future *f = NULL;
775 775
776 promise = efl_loop_promise_new(o, o, _efl_net_control_access_point_connect_promise_del, NULL); 776 promise = efl_loop_promise_new(o, _efl_net_control_access_point_connect_promise_del, o);
777 EINA_SAFETY_ON_NULL_RETURN_VAL(promise, NULL); 777 EINA_SAFETY_ON_NULL_RETURN_VAL(promise, NULL);
778 778
779 f = eina_future_new(promise); 779 f = eina_future_new(promise);