Skip to content
Snippets Groups Projects
Commit 058cc806 authored by deuce's avatar deuce
Browse files

Remove the [] from IPv6 addresses which have them in the log message.

parent e1e24e18
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ BOOL DLLCALL xpms_add_list(struct xpms_set *xpms_set, int domain, int type,
sscanf(p, "%hu", &port);
}
if(xpms_set->lprintf)
xpms_set->lprintf(LOG_INFO, "Adding %s listening socket on %s port %hu", prot, host, port);
xpms_set->lprintf(LOG_INFO, "Adding %s listening socket on %s port %hu", prot, host_str, port);
if(xpms_add(xpms_set, domain, type, protocol, host_str, port, prot, sock_init, bind_init, cbdata))
one_good=TRUE;
free(host);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment