mirror of
https://github.com/curl/curl.git
synced 2026-08-05 09:46:18 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue