From 16209c70abf64f9d16d94ac74851e249e81f27a5 Mon Sep 17 00:00:00 2001 From: caro Date: Fri, 29 Apr 2011 07:34:12 +0000 Subject: [PATCH] formatting git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@59031 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.7.4