Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis bnoordhuis/patsje.patch Secret
Created Oct 6, 2011

Embed
What would you like to do?
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
You can’t perform that action at this time.