aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 33048c8b5..fec12c22a 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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