From 7db7d84fa22b85e20e2c0adf2fc145189c0513bb Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 25 Jan 2018 09:54:36 -0800 Subject: [PATCH] ecore_con: missed compiler warning. --- src/lib/ecore_con/ecore_con_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_con/ecore_con_legacy.c b/src/lib/ecore_con/ecore_con_legacy.c index db0db5169e..ea8c31f6cd 100644 --- a/src/lib/ecore_con/ecore_con_legacy.c +++ b/src/lib/ecore_con/ecore_con_legacy.c @@ -1677,7 +1677,7 @@ ecore_con_server_add(Ecore_Con_Type compl_type, /* The allowable port number is an unsigned 16-bit integer for remote connection, so 1-65535, 0 is reserved */ if (((type == ECORE_CON_REMOTE_TCP) || (type == ECORE_CON_REMOTE_NODELAY) || (type == ECORE_CON_REMOTE_CORK) || (type == ECORE_CON_REMOTE_UDP) || (type == ECORE_CON_REMOTE_MCAST)) && - (port < 0) || (port > 65535)) + ((port < 0) || (port > 65535))) { ERR("Port %i invalid (0 <= port <= 65535)", port); return NULL;