Commit a9f2274b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname

instead, its only for debug verbose output anyway
parent 92179ff9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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