Declaration at beginning of block

SVN revision: 54206
This commit is contained in:
Sebastian Dransfeld 2010-11-06 01:22:40 +00:00
parent 5fc5dcc215
commit 46cf959d70
1 changed files with 2 additions and 4 deletions

View File

@ -1882,7 +1882,8 @@ static Eina_Bool
_ecore_con_cl_udp_handler(void *data,
Ecore_Fd_Handler *fd_handler)
{
Ecore_Con_Event_Server_Data *e;
unsigned char *inbuf;
unsigned char buf[READBUFSIZ];
int num;
Ecore_Con_Server *svr;
@ -1911,9 +1912,6 @@ _ecore_con_cl_udp_handler(void *data,
if ((num < 1) || (svr->delete_me))
return ECORE_CALLBACK_RENEW;
Ecore_Con_Event_Server_Data *e;
unsigned char *inbuf;
inbuf = malloc(num);
if(!inbuf)
return ECORE_CALLBACK_RENEW;