diff options
-rw-r--r-- | src/connection_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection_wrap.cc b/src/connection_wrap.cc index b894382c03..300f7d316b 100644 --- a/src/connection_wrap.cc +++ b/src/connection_wrap.cc @@ -94,7 +94,7 @@ void ConnectionWrap<WrapType, UVType>::AfterConnect(uv_connect_t* req, bool readable, writable; if (status) { - readable = writable = 0; + readable = writable = false; } else { readable = uv_is_readable(req->handle) != 0; writable = uv_is_writable(req->handle) != 0; |