summaryrefslogtreecommitdiff
path: root/deps/uv/include/uv-win.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/include/uv-win.h')
-rw-r--r--deps/uv/include/uv-win.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/uv/include/uv-win.h b/deps/uv/include/uv-win.h
index 4abb294c05..b744d624cb 100644
--- a/deps/uv/include/uv-win.h
+++ b/deps/uv/include/uv-win.h
@@ -565,8 +565,11 @@ RB_HEAD(uv_timer_tree_s, uv_timer_s);
void* alloc; \
WCHAR* node; \
WCHAR* service; \
- struct addrinfoW* hints; \
- struct addrinfoW* res; \
+ /* The addrinfoW field is used to store a pointer to the hints, and */ \
+ /* later on to store the result of GetAddrInfoW. The final result will */ \
+ /* be converted to struct addrinfo* and stored in the addrinfo field. */ \
+ struct addrinfoW* addrinfow; \
+ struct addrinfo* addrinfo; \
int retcode;
#define UV_GETNAMEINFO_PRIVATE_FIELDS \