src: renaming ares_task struct to node_ares_task · nodejs/node@84dd526 · GitHub
Skip to content

Commit 84dd526

Browse files
danbevFishrock123
authored andcommitted
src: renaming ares_task struct to node_ares_task
This commit attempts to fix one of the items in #4641, which was to remove a TODO comment from env.h regarding the naming of the ares_task_t struct. Also, the struct ares_task_list was renamed to node_ares_task_list following the same reasoning that is does not belong to the c-ares API. PR-URL: #7345 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Conflicts: src/env.h
1 parent fa9e6f7 commit 84dd526

3 files changed

Lines changed: 18 additions & 20 deletions

File tree

src/cares_wrap.cc

Lines changed: 12 additions & 12 deletions

src/env-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ inline ares_channel* Environment::cares_channel_ptr() {
428428
return &cares_channel_;
429429
}
430430

431-
inline ares_task_list* Environment::cares_task_list() {
431+
inline node_ares_task_list* Environment::cares_task_list() {
432432
return &cares_task_list_;
433433
}
434434

src/env.h

Lines changed: 5 additions & 7 deletions

0 commit comments

Comments
 (0)