mirror of
https://github.com/curl/curl.git
synced 2026-05-02 21:07:51 +03:00
hostip6: remove debug-only code
Introduced in 021e786c71. Not used these days.
Closes #20334
This commit is contained in:
parent
7755df3a48
commit
493e3d6166
1 changed files with 0 additions and 19 deletions
|
|
@ -52,23 +52,6 @@
|
|||
|
||||
#ifdef CURLRES_SYNCH
|
||||
|
||||
#ifdef DEBUG_ADDRINFO
|
||||
static void dump_addrinfo(const struct Curl_addrinfo *ai)
|
||||
{
|
||||
curl_mprintf("dump_addrinfo:\n");
|
||||
for(; ai; ai = ai->ai_next) {
|
||||
char buf[INET6_ADDRSTRLEN];
|
||||
curl_mprintf(" fam %2d, CNAME %s, ",
|
||||
ai->ai_family,
|
||||
ai->ai_canonname ? ai->ai_canonname : "<none>");
|
||||
Curl_printable_address(ai, buf, sizeof(buf));
|
||||
curl_mprintf("%s\n", buf);
|
||||
}
|
||||
}
|
||||
#else
|
||||
#define dump_addrinfo(x) Curl_nop_stmt
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Curl_sync_getaddrinfo() when built IPv6-enabled (non-threading and
|
||||
* non-ares version).
|
||||
|
|
@ -130,8 +113,6 @@ struct Curl_addrinfo *Curl_sync_getaddrinfo(struct Curl_easy *data,
|
|||
Curl_addrinfo_set_port(res, port);
|
||||
}
|
||||
|
||||
dump_addrinfo(res);
|
||||
|
||||
return res;
|
||||
}
|
||||
#endif /* CURLRES_SYNCH */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue