From 98c0498dbc00850d8d1a01c4111d143d80d96a9b Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 30 Jan 2012 11:28:54 -0800 Subject: [PATCH] unix: Remove assert in uv__pipe_accept This assert unnecessarily prevents people from using the pipe_wrap class in node to send file descriptors over sockets. --- src/unix/pipe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/unix/pipe.c b/src/unix/pipe.c index 5509136a7..f1be9e972 100644 --- a/src/unix/pipe.c +++ b/src/unix/pipe.c @@ -251,7 +251,6 @@ void uv__pipe_accept(EV_P_ ev_io* watcher, int revents) { pipe = watcher->data; assert(pipe->type == UV_NAMED_PIPE); - assert(pipe->pipe_fname != NULL); sockfd = uv__accept(pipe->fd, (struct sockaddr *)&saddr, sizeof saddr); if (sockfd == -1) {