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.
This commit is contained in:
Ben Noordhuis committed 2013-08-27 13:20:42 +02:00
1 parent 9fc006618f
commit 0523da64d2
1 file changed
+1 -1
+1 -1
View File
@@ -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;