projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc0066
)
cares_wrap: drop UV_HANDLE_FIELDS from ares_task_t
author
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 27 Aug 2013 11:20:39 +0000
(13:20 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 27 Aug 2013 11:20:42 +0000
(13:20 +0200)
UV_HANDLE_FIELDS is a libuv implementation detail. The ares_task_t
struct only uses the uv_loop_t* field so be explicit about that.
src/cares_wrap.cc
patch
|
blob
|
history
diff --git
a/src/cares_wrap.cc
b/src/cares_wrap.cc
index
438b405
..
f09590e
100644
(file)
--- a/
src/cares_wrap.cc
+++ b/
src/cares_wrap.cc
@@
-61,7
+61,7
@@
using v8::Value;
typedef class ReqWrap<uv_getaddrinfo_t> GetAddrInfoReqWrap;
struct ares_task_t {
- UV_HANDLE_FIELDS
+ uv_loop_t* loop;
ares_socket_t sock;
uv_poll_t poll_watcher;
RB_ENTRY(ares_task_t) node;