forked from enlightenment/efl
ecore-con - check return of ecore con ssl init
check return of ssl init for server connection fixes CID 1039700
This commit is contained in:
parent
4c25e710a7
commit
cbf5e0ef1d
|
@ -183,7 +183,9 @@ ecore_con_local_connect(Ecore_Con_Server *obj,
|
|||
return 0;
|
||||
|
||||
if (svr->type & ECORE_CON_SSL)
|
||||
ecore_con_ssl_server_init(obj);
|
||||
{
|
||||
if (!ecore_con_ssl_server_init(obj)) ERR("Can't init SSL");
|
||||
}
|
||||
|
||||
svr->fd_handler =
|
||||
ecore_main_fd_handler_add(svr->fd, ECORE_FD_READ,
|
||||
|
|
Loading…
Reference in New Issue