formatting

SVN revision: 33769
This commit is contained in:
Sebastian Dransfeld 2008-02-18 06:26:20 +00:00
parent 6fd085f0aa
commit d6b1e0b5a6
1 changed files with 18 additions and 1 deletions

View File

@ -620,7 +620,7 @@ ecore_con_server_connected_get(Ecore_Con_Server *svr)
* @return The list of clients on this server.
* @ingroup Ecore_Con_Server_Group
*/
EAPI Ecore_List*
EAPI Ecore_List *
ecore_con_server_clients_get(Ecore_Con_Server *svr)
{
if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER))
@ -1333,6 +1333,8 @@ _ecore_con_cl_handler(void *data, Ecore_Fd_Handler *fd_handler)
lost_server = (ssl_err == SSL_ERROR_ZERO_RETURN);
if (ssl_err == SSL_ERROR_SYSCALL)
{
perror("SSL read");
printf("SSL_ERROR_SYSCALL: num = %d, errno = %d\n", num, errno);
if (num == 0) lost_server = 1;
else
{
@ -1522,6 +1524,21 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
{
ssl_err = SSL_get_error(svr->ssl, count);
lost_server = (ssl_err == SSL_ERROR_ZERO_RETURN);
if (ssl_err == SSL_ERROR_SYSCALL)
{
perror("SSL write");
printf("SSL_ERROR_SYSCALL: num = %d, errno = %d\n", num, errno);
if (num == 0) lost_server = 1;
else
{
lost_server = ((errno == EIO) ||
(errno == EBADF) ||
(errno == EPIPE) ||
(errno == EINVAL) ||
(errno == ENOSPC) ||
(errno == ECONNRESET));
}
}
}
}
#endif