mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
instead, its only for debug verbose output anyway
This commit is contained in:
parent
92179ff990
commit
a9f2274bd8
@ -1893,7 +1893,7 @@ static void verboseconnect(struct connectdata *conn)
|
|||||||
{
|
{
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
const char *host=NULL;
|
const char *host=NULL;
|
||||||
char addrbuf[NI_MAXHOST];
|
char addrbuf[256];
|
||||||
|
|
||||||
/* Get a printable version of the network address. */
|
/* Get a printable version of the network address. */
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef ENABLE_IPV6
|
||||||
|
Loading…
Reference in New Issue
Block a user