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:
Carsten Haitzler 2014-08-27 16:25:51 +09:00
parent 4c25e710a7
commit cbf5e0ef1d
1 changed files with 3 additions and 1 deletions

View File

@ -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,