From: caro Date: Fri, 29 Apr 2011 07:34:12 +0000 (+0000) Subject: formatting X-Git-Tag: 2.0_alpha~194^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16209c70abf64f9d16d94ac74851e249e81f27a5;p=framework%2Fuifw%2Fecore.git formatting git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@59031 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 6a2cb65..13a4517 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -1932,7 +1932,7 @@ _ecore_con_svr_tcp_handler(void *data, Ecore_Con_Server *svr; Ecore_Con_Client *cl = NULL; unsigned char client_addr[256]; - unsigned int client_addr_len = sizeof(client_addr); + unsigned int client_addr_len; svr = data; if (svr->dead) @@ -1955,6 +1955,7 @@ _ecore_con_svr_tcp_handler(void *data, } cl->host_server = svr; + client_addr_len = sizeof(client_addr); memset(&client_addr, 0, client_addr_len); cl->fd = accept(svr->fd, (struct sockaddr *)&client_addr, (socklen_t *)&client_addr_len); if (cl->fd < 0)