mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
9fc006618f
commit
0523da64d2
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user