forked from enlightenment/efl
ecore_con: missed compiler warning.
This commit is contained in:
parent
fb3e49d66d
commit
7db7d84fa2
|
@ -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 */
|
/* 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) ||
|
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)) &&
|
(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);
|
ERR("Port %i invalid (0 <= port <= 65535)", port);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue