ecore-con - fix typo in error handling for ssl client init

fixes CID 1232730
This commit is contained in:
Carsten Haitzler 2014-08-27 17:18:22 +09:00
parent f53683f76a
commit 1383f025d3
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ ecore_con_ssl_client_init(Ecore_Con_Client *obj)
if (!cl)
return ECORE_CON_SSL_ERROR_NONE;
Ecore_Con_Server_Data *host_server = eo_data_scope_get(cl->host_server, ECORE_CON_SERVER_CLASS);
if (host_server || !(host_server->type & ECORE_CON_SSL))
if (!host_server || !(host_server->type & ECORE_CON_SSL))
return ECORE_CON_SSL_ERROR_NONE;
return SSL_SUFFIX(_ecore_con_ssl_client_init) (obj);
}