From a89410456c34bcd25421de2d888e9f6e17602079 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 11 Aug 2011 04:01:05 +0200 Subject: [PATCH] Whitespace --- src/win/pipe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/win/pipe.c b/src/win/pipe.c index db2aa508..10a46098 100644 --- a/src/win/pipe.c +++ b/src/win/pipe.c @@ -56,9 +56,9 @@ int uv_pipe_init_with_handle(uv_pipe_t* handle, HANDLE pipeHandle) { int err = uv_pipe_init(handle); if (!err) { - /* + /* * At this point we don't know whether the pipe will be used as a client - * or a server. So, we assume that it will be a client until + * or a server. So, we assume that it will be a client until * uv_listen is called. */ handle->handle = pipeHandle; @@ -518,7 +518,7 @@ int uv_pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { return -1; } - if (!(handle->flags & UV_HANDLE_BOUND) && + if (!(handle->flags & UV_HANDLE_BOUND) && !(handle->flags & UV_HANDLE_GIVEN_OS_HANDLE)) { uv_set_error(UV_EINVAL, 0); return -1; @@ -530,7 +530,7 @@ int uv_pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { return -1; } - if (!(handle->flags & UV_HANDLE_PIPESERVER) && + if (!(handle->flags & UV_HANDLE_PIPESERVER) && !(handle->flags & UV_HANDLE_GIVEN_OS_HANDLE)) { uv_set_error(UV_ENOTSUP, 0); return -1;