Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
unix: Remove assert in uv__pipe_accept
Browse files Browse the repository at this point in the history
This assert unnecessarily prevents people from using the pipe_wrap
class in node to send file descriptors over sockets.
  • Loading branch information
isaacs committed Jan 30, 2012
1 parent f9b478c commit 98c0498
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/unix/pipe.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 98c0498

Please sign in to comment.