From: caro Date: Fri, 29 Apr 2011 07:39:28 +0000 (+0000) Subject: shadow var-- X-Git-Tag: build/2012-07-04.173327~1203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b113d41f6dd19b7293b4b5c0f3fe59c710abdba4;p=profile%2Fivi%2Fecore.git shadow var-- git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@59032 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con_info.c b/src/lib/ecore_con/ecore_con_info.c index 3cedb05..e20f788 100644 --- a/src/lib/ecore_con/ecore_con_info.c +++ b/src/lib/ecore_con/ecore_con_info.c @@ -327,7 +327,7 @@ static void _ecore_con_info_readdata(CB_Data *cbdata) { Ecore_Con_Info container; - Ecore_Con_Info *recv; + Ecore_Con_Info *recv_info; unsigned char *torecv; int torecv_len; @@ -348,22 +348,22 @@ _ecore_con_info_readdata(CB_Data *cbdata) if ((size > 0) && ((size_t)size == torecv_len - sizeof(Ecore_Con_Info))) { - recv = (Ecore_Con_Info *)torecv; + recv_info = (Ecore_Con_Info *)torecv; - recv->info.ai_addr = + recv_info->info.ai_addr = (struct sockaddr *)(torecv + sizeof(Ecore_Con_Info)); if ((size_t)torecv_len != - (sizeof(Ecore_Con_Info) + recv->info.ai_addrlen)) - recv->info.ai_canonname = (char *) - (torecv + sizeof(Ecore_Con_Info) + recv->info.ai_addrlen); + (sizeof(Ecore_Con_Info) + recv_info->info.ai_addrlen)) + recv_info->info.ai_canonname = (char *) + (torecv + sizeof(Ecore_Con_Info) + recv_info->info.ai_addrlen); else - recv->info.ai_canonname = NULL; + recv_info->info.ai_canonname = NULL; - recv->info.ai_next = NULL; + recv_info->info.ai_next = NULL; if (cbdata->data) { - cbdata->cb_done(cbdata->data, recv); + cbdata->cb_done(cbdata->data, recv_info); ecore_con_server_infos_del(cbdata->data, cbdata); }