diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-20 00:49:42 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-21 05:51:23 +0400 |
commit | 37cbc355d53077c3406ab4f1d7679f3504dcbe51 (patch) | |
tree | 86b087558fd770e5e7aef33ff61cfd139044a831 /src/pipe_wrap.cc | |
parent | 588d885e81dec667920383ac7246daceeb7f99fd (diff) |
net: add bindings to libuv pipe API
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r-- | src/pipe_wrap.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index 5d0c5128edc..15de2a3919e 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -85,6 +85,7 @@ class PipeWrap : StreamWrap { int r = uv_pipe_init(&handle_); assert(r == 0); // How do we proxy this error up to javascript? // Suggestion: uv_pipe_init() returns void. + handle_.data = reinterpret_cast<void*>(this); UpdateWriteQueueSize(); } |