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)
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)
466 char buf[100]; 466 char buf[100];
467 Eo *ctl = event->object; 467 Eo *ctl = event->object;
468 Efl_Net_Control_Agent_Request_Input *ri = event->info; 468 Efl_Net_Control_Agent_Request_Input *ri = event->info;
469 Eina_List *n;
470 Efl_Net_Control_Agent_Request_Input_Information *info; 469 Efl_Net_Control_Agent_Request_Input_Information *info;
471 char *name = NULL; 470 char *name = NULL;
472 char *username = NULL; 471 char *username = NULL;
@@ -475,10 +474,11 @@ _ctl_agent_request_input(void *data EINA_UNUSED, const Efl_Event *event)
475 char *wps = NULL; 474 char *wps = NULL;
476 Eina_Slice ssid_slice = { }; 475 Eina_Slice ssid_slice = { };
477 size_t len; 476 size_t len;
477 unsigned int n;
478 478
479 printf("INFO: Needs agent input!\n"); 479 printf("INFO: Needs agent input!\n");
480 480
481 EINA_LIST_FOREACH(ri->informational, n, info) 481 EINA_ACCESSOR_FOREACH(ri->informational, n, info)
482 printf("INFO: - %s: %s\n", info->name, info->value); 482 printf("INFO: - %s: %s\n", info->name, info->value);
483 483
484 484