Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis bnoordhuis/patsje.patch Secret
Created Aug 24, 2012

Embed
What would you like to do?
diff --git a/src/unix_dgram.cc b/src/unix_dgram.cc
index 3201b0a..c86edbd 100644
--- a/src/unix_dgram.cc
+++ b/src/unix_dgram.cc
@@ -113,6 +113,7 @@ void OnRecv(uv_poll_t* handle, int status, int events) {
SetErrno(errno);
goto err;
}
+ fprintf(stderr, "ioctl(FIONREAD) = %d\n", size);
buf = Buffer::New(size);
argv[1] = buf->handle_;
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.