diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 15:14:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 15:14:19 +0000 |
commit | a9f2274bd8e027465386b227b47156468e477146 (patch) | |
tree | d8117cacb2fac8a9a6b953e6ab3b52e076076a82 | |
parent | 92179ff99027e45afc9a14937489b62039ed240a (diff) |
NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
instead, its only for debug verbose output anyway
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 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 |