summaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2016-07-03 17:36:47 +0000
committercorvid <devnull@localhost>2016-07-03 17:36:47 +0000
commite6d3d297362baa3a88d1e3bfd795f871865f251a (patch)
tree2028adb3e6a93dd45197be32dda46c4616655308 /src/IO/http.c
parentff74c1460b32c74f0c9afac32bcd480763735447 (diff)
clean up host:port usage, particularly with ipv6
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index bc8489c9..d8fcf018 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -570,7 +570,7 @@ static void Http_connect_socket(ChainLink *Info)
memcpy(&sin6->sin6_addr, dh->data, dh->alen);
inet_ntop(dh->af, dh->data, buf, sizeof(buf));
if (a_Web_valid(S->web) && (S->web->flags & WEB_RootUrl))
- MSG("Connecting to %s:%u\n", buf, S->connect_port);
+ MSG("Connecting to [%s]:%u\n", buf, S->connect_port);
break;
}
#endif