From 1df6a75020ac407d34fe762a62df9a6ebfdc149e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 14 Oct 2010 22:13:40 +0000 Subject: [PATCH] make this more explicit in case compiler is dumber than expected? SVN revision: 53431 --- legacy/ecore/src/lib/ecore_con/ecore_con.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c index 3095fd62f6..85e0c4cd3c 100644 --- a/legacy/ecore/src/lib/ecore_con/ecore_con.c +++ b/legacy/ecore/src/lib/ecore_con/ecore_con.c @@ -1198,7 +1198,7 @@ _ecore_con_client_free(Ecore_Con_Client *cl) if (cl->buf) free(cl->buf); - if (cl->host_server->type & ECORE_CON_SSL) + if (cl->host_server->type & ECORE_CON_SSL > 0) ecore_con_ssl_client_shutdown(cl); if (cl->fd >= 0) @@ -1472,7 +1472,7 @@ _ecore_con_cb_tcp_connect(void *data, Ecore_Con_Info *net_info) 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) + if (svr->type & ECORE_CON_SSL > 0) { svr->handshaking = EINA_TRUE; svr->ssl_state = ECORE_CON_SSL_STATE_INIT; @@ -1680,7 +1680,7 @@ _ecore_con_svr_tcp_handler(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__) ECORE_MAGIC_SET(cl, ECORE_MAGIC_CON_CLIENT); - if (svr->type & ECORE_CON_SSL) + if (svr->type & ECORE_CON_SSL > 0) { cl->handshaking = EINA_TRUE; cl->ssl_state = ECORE_CON_SSL_STATE_INIT;