summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2020-01-02 11:48:45 -0800
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-30 17:06:17 +0100
commit81cbe8bdc80084433cefec4896734ce32fdfc379 (patch)
tree1024d0b482336a722f08bc7d406986dc4cadf53a /src/examples
parentfc0c60ca8ca588624060d3298be53fa5bdf917b7 (diff)
downloadefl-81cbe8bdc80084433cefec4896734ce32fdfc379.tar.gz
ecore_con: remove use of list<> from Efl.Net.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11044
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/efl_net_control_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/ecore/efl_net_control_example.c b/src/examples/ecore/efl_net_control_example.c
index 408ea8e6c9..f634953467 100644
--- a/src/examples/ecore/efl_net_control_example.c
+++ b/src/examples/ecore/efl_net_control_example.c
@@ -466,7 +466,6 @@ _ctl_agent_request_input(void *data EINA_UNUSED, const Efl_Event *event)
char buf[100];
Eo *ctl = event->object;
Efl_Net_Control_Agent_Request_Input *ri = event->info;
- Eina_List *n;
Efl_Net_Control_Agent_Request_Input_Information *info;
char *name = NULL;
char *username = NULL;
@@ -475,10 +474,11 @@ _ctl_agent_request_input(void *data EINA_UNUSED, const Efl_Event *event)
char *wps = NULL;
Eina_Slice ssid_slice = { };
size_t len;
+ unsigned int n;
printf("INFO: Needs agent input!\n");
- EINA_LIST_FOREACH(ri->informational, n, info)
+ EINA_ACCESSOR_FOREACH(ri->informational, n, info)
printf("INFO: - %s: %s\n", info->name, info->value);