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:
parent
ccaaf22cac
commit
0813adca32
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue