else
{
if (cl->host_server)
- cl->host_server->clients = eina_list_remove(
- cl->host_server->clients, cl);
+ cl->host_server->clients = eina_list_remove(cl->host_server->clients, cl);
_ecore_con_client_free(cl);
}
NULL);
}
- if(!cl->delete_me)
+ if (!cl->delete_me)
{
Ecore_Con_Event_Client_Add *add;
{
/*cl->event_count++;*/
add->client = cl;
- ecore_event_add(ECORE_CON_EVENT_CLIENT_ADD,
- add,
- _ecore_con_event_client_add_free,
- NULL);
+ ecore_event_add(ECORE_CON_EVENT_CLIENT_ADD, add,
+ _ecore_con_event_client_add_free, NULL);
}
}
}
svr->event_count++;
/* be explicit here */
e->client = NULL;
- ecore_event_add(ECORE_CON_EVENT_CLIENT_DEL, e,
- _ecore_con_event_client_del_free,
- NULL);
+ ecore_event_add(ECORE_CON_EVENT_CLIENT_DEL, e,
+ _ecore_con_event_client_del_free, NULL);
}
}
for (tries = 0; tries < 16; tries++)
{
int num;
- int lost_client = 1;
+ Eina_Bool lost_client = EINA_TRUE;
unsigned char buf[READBUFSIZ];
errno = 0;
{
if ((num = read(cl->fd, buf, READBUFSIZ)) <= 0)
if ((num < 0) && (errno == EAGAIN))
- lost_client = 0;
+ lost_client = EINA_FALSE;
}
else if (!(num = ecore_con_ssl_client_read(cl, buf, READBUFSIZ)))
- lost_client = 0;
+ lost_client = EINA_FALSE;
if (num > 0)
{