diff options
Diffstat (limited to 'src/unix/tcp.c')
-rw-r--r-- | src/unix/tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unix/tcp.c b/src/unix/tcp.c index b8800bdc..1f59083e 100644 --- a/src/unix/tcp.c +++ b/src/unix/tcp.c @@ -445,9 +445,8 @@ int uv__tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) { /* Start listening for connections. */ tcp->io_watcher.cb = uv__server_io; - uv__io_start(tcp->loop, &tcp->io_watcher, POLLIN); - return 0; + return uv__io_start(tcp->loop, &tcp->io_watcher, POLLIN); } |