0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd::net: Improve connect logmsg.

This commit is contained in:
Jason Volk 2019-08-02 22:34:12 -07:00
parent 0117838145
commit de00f3b0c3

View file

@ -3624,11 +3624,12 @@ noexcept try
using std::errc;
const life_guard<socket> s{wp};
thread_local char ecbuf[64];
thread_local char ecbuf[64], epbuf[128];
log::debug
{
log, "%s connect %s",
log, "%s connect to %s :%s",
loghead(*this),
string(epbuf, opts.ipport),
string(ecbuf, ec)
};