mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
asyn-ares: remove wrong comment about the callback argument
Both the c-ares documentation and the c-ares source code contradict the previous comment (and mentions/contains no such restriction). Ref: #19001 Closes #19014
This commit is contained in:
parent
142d61a0ee
commit
b3f9c837d3
1 changed files with 0 additions and 2 deletions
|
|
@ -517,8 +517,6 @@ static void async_ares_hostbyname_cb(void *user_data,
|
|||
(void)timeouts; /* ignored */
|
||||
|
||||
if(ARES_EDESTRUCTION == status)
|
||||
/* when this ares handle is getting destroyed, the 'arg' pointer may not
|
||||
be valid so only defer it when we know the 'status' says its fine! */
|
||||
return;
|
||||
|
||||
if(ARES_SUCCESS == status) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue