0
0
Fork 0
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:
Jason Volk 2018-10-02 22:37:07 -07:00
parent 7af6ecdeed
commit 58c7a4885b
2 changed files with 4 additions and 6 deletions

View file

@ -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>

View file

@ -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()
};