-
-
Save bnoordhuis/b68bd1f8cdd443b2fa1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/deps/uv/src/unix/stream.c b/deps/uv/src/unix/stream.c | |
index 0268158..08d8da9 100644 | |
--- a/deps/uv/src/unix/stream.c | |
+++ b/deps/uv/src/unix/stream.c | |
@@ -566,6 +566,7 @@ static void uv__read(uv_stream_t* stream) { | |
if (stream->read_cb) { | |
stream->read_cb(stream, nread, buf); | |
+ return; | |
} else { | |
assert(stream->read2_cb); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment