Browse Source

cares_wrap: drop UV_HANDLE_FIELDS from ares_task_t

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.
v0.11.7-release
Ben Noordhuis 12 years ago
parent
commit
0523da64d2
  1. 2
      src/cares_wrap.cc

2
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;

Loading…
Cancel
Save