mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::server: Remove redundant strings; minor cleanup.
This commit is contained in:
parent
7af6ecdeed
commit
58c7a4885b
2 changed files with 4 additions and 6 deletions
|
@ -402,9 +402,7 @@ ircd::net::read_one(socket &socket,
|
|||
//
|
||||
|
||||
ircd::net::wait_opts
|
||||
const ircd::net::wait_opts_default
|
||||
{
|
||||
};
|
||||
const ircd::net::wait_opts_default;
|
||||
|
||||
/// Wait for socket to become "ready" using a ctx::future.
|
||||
ircd::ctx::future<void>
|
||||
|
|
|
@ -741,7 +741,7 @@ ircd::server::peer::handle_error(link &link,
|
|||
|
||||
log::derror
|
||||
{
|
||||
log, "peer(%p) link(%p) [%s]: error: %s",
|
||||
log, "peer(%p) link(%p) [%s]: %s",
|
||||
this,
|
||||
&link,
|
||||
string(remote),
|
||||
|
@ -793,7 +793,7 @@ catch(const std::exception &e)
|
|||
{
|
||||
log::critical
|
||||
{
|
||||
log, "peer(%p) link(%p) tag(%p) done; error: %s",
|
||||
log, "peer(%p) link(%p) tag(%p) done; %s",
|
||||
this,
|
||||
&link,
|
||||
&tag,
|
||||
|
@ -971,7 +971,7 @@ catch(const std::exception &e)
|
|||
{
|
||||
log::derror
|
||||
{
|
||||
log, "peer(%p): error: %s",
|
||||
log, "peer(%p): %s",
|
||||
this,
|
||||
e.what()
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue