1
0
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:
Daniel Stenberg 2004-04-26 15:14:19 +00:00
parent 92179ff990
commit a9f2274bd8

View File

@ -1893,7 +1893,7 @@ static void verboseconnect(struct connectdata *conn)
{
struct SessionHandle *data = conn->data;
const char *host=NULL;
char addrbuf[NI_MAXHOST];
char addrbuf[256];
/* Get a printable version of the network address. */
#ifdef ENABLE_IPV6