summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2015-01-30 14:25:53 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-11 17:03:39 +0100
commitd0dabf8613f9a2a99c6e905af8a61d7814eba84c (patch)
treec1726f8389fdb06112bf4ba7129cea650f6d7749 /src/lib/ecore_con
parent83917a8c6430e57279c01de801356c69565169a7 (diff)
ecore: improve network events handling on Windows.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index c5c0ec470c..ec240a2dba 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -1610,10 +1610,10 @@ _ecore_con_cb_tcp_listen(void *data,
1610 } 1610 }
1611 } 1611 }
1612 1612
1613 if (bind(svr->fd, net_info->info.ai_addr, net_info->info.ai_addrlen) < 0) 1613 if (bind(svr->fd, net_info->info.ai_addr, net_info->info.ai_addrlen) != 0)
1614 goto error; 1614 goto error;
1615 1615
1616 if (listen(svr->fd, 4096) < 0) goto error; 1616 if (listen(svr->fd, 4096) != 0) goto error;
1617 1617
1618#ifdef HAVE_SYSTEMD 1618#ifdef HAVE_SYSTEMD
1619fd_ready: 1619fd_ready: