if (cl->buf)
free(cl->buf);
- if (cl->host_server->type & ECORE_CON_SSL > 0)
+ if (cl->host_server->type & ECORE_CON_SSL)
ecore_con_ssl_client_shutdown(cl);
if (cl->fd >= 0)
svr->fd_handler = ecore_main_fd_handler_add(svr->fd, ECORE_FD_READ,
_ecore_con_cl_handler, svr, NULL, NULL);
- if (svr->type & ECORE_CON_SSL > 0)
+ if (svr->type & ECORE_CON_SSL)
{
svr->handshaking = EINA_TRUE;
svr->ssl_state = ECORE_CON_SSL_STATE_INIT;
ECORE_MAGIC_SET(cl, ECORE_MAGIC_CON_CLIENT);
- if (svr->type & ECORE_CON_SSL > 0)
+ if (svr->type & ECORE_CON_SSL)
{
cl->handshaking = EINA_TRUE;
cl->ssl_state = ECORE_CON_SSL_STATE_INIT;