0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-16 16:50:12 +01:00

ircd::client: Use socket ID rather than address for loghead.

This commit is contained in:
Jason Volk 2018-09-29 19:56:40 -07:00
parent ccaaf22cac
commit 0813adca32

View file

@ -914,10 +914,10 @@ const
thread_local char locbuf[128];
return fmt::sprintf
{
buf, "client[%lu] local[%s] remote[%s] socket(%p)",
buf, "socket:%lu client:%lu local[%s] remote[%s]",
sock? net::id(*sock) : -1UL,
id,
string(locbuf, ircd::local(*this)),
string(rembuf, ircd::remote(*this)),
sock.get()
string(rembuf, ircd::remote(*this))
};
}