diff options
author | Juan José <soyjuanarbol@gmail.com> | 2025-07-03 14:04:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-03 21:04:46 +0200 |
commit | db3d0ff33a2701971a90f9c0284d28674555f716 (patch) | |
tree | bde99a9ecca318e7832e6ed2f8b25be6f5ba4c51 | |
parent | 8e51d38ab69b8da3c803e12c0579203578fc0d41 (diff) | |
download | libuv-main.tar.gz libuv-main.zip |
Refs: https://github.com/libuv/libuv/issues/4755
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
-rw-r--r-- | src/unix/pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unix/pipe.c b/src/unix/pipe.c index 68e225e2..f086a22f 100644 --- a/src/unix/pipe.c +++ b/src/unix/pipe.c @@ -171,8 +171,7 @@ int uv__pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { handle->connection_cb = cb; handle->io_watcher.cb = uv__server_io; - uv__io_start(handle->loop, &handle->io_watcher, POLLIN); - return 0; + return uv__io_start(handle->loop, &handle->io_watcher, POLLIN); } |