summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-12-18 15:45:33 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-12-18 15:46:00 +0100
commit7b2ef2de208130f6cfe4775357eae0290a621653 (patch)
tree6a87d72d0dd1fa06313c2c65cfbae00b2cccbda8
parentba754524a9f6a729a337803aadd5f1b47af968b9 (diff)
downloadnode-7b2ef2de208130f6cfe4775357eae0290a621653.tar.gz
deps: upgrade libuv to dc559a5
-rw-r--r--deps/uv/src/unix/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/src/unix/tcp.c b/deps/uv/src/unix/tcp.c
index 522936925..a51576ba1 100644
--- a/deps/uv/src/unix/tcp.c
+++ b/deps/uv/src/unix/tcp.c
@@ -233,7 +233,7 @@ int uv_tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) {
if (single_accept == -1) {
const char* val = getenv("UV_TCP_SINGLE_ACCEPT");
- single_accept = (val == NULL) || (atoi(val) != 0); /* on by default */
+ single_accept = (val != NULL && atoi(val) != 0); /* Off by default. */
}
if (single_accept)