mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
ircd: Minor socket log message improvements.
This commit is contained in:
parent
30fb1d59d7
commit
a57070a9cf
1 changed files with 4 additions and 4 deletions
|
@ -207,12 +207,15 @@ ircd::socket::operator()(const milliseconds &timeout,
|
|||
|
||||
if(unlikely(wp.expired()))
|
||||
{
|
||||
log::warning("socket(%p): belated callback to handler...", (const void *)this);
|
||||
log::warning("socket(%p): belated callback to handler...", this);
|
||||
return;
|
||||
}
|
||||
|
||||
if(!handle_ready(ec))
|
||||
{
|
||||
log::debug("socket(%p): %s", this, ec.message());
|
||||
return;
|
||||
}
|
||||
|
||||
handler(ec);
|
||||
});
|
||||
|
@ -235,9 +238,6 @@ noexcept
|
|||
{
|
||||
using namespace boost::system::errc;
|
||||
|
||||
if(ec)
|
||||
log::debug("socket(%p): %s", (const void *)this, ec.message().c_str());
|
||||
|
||||
if(!timedout)
|
||||
timer.cancel();
|
||||
|
||||
|
|
Loading…
Reference in a new issue