0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +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 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. /// Wait for socket to become "ready" using a ctx::future.
ircd::ctx::future<void> ircd::ctx::future<void>

View file

@ -741,7 +741,7 @@ ircd::server::peer::handle_error(link &link,
log::derror log::derror
{ {
log, "peer(%p) link(%p) [%s]: error: %s", log, "peer(%p) link(%p) [%s]: %s",
this, this,
&link, &link,
string(remote), string(remote),
@ -793,7 +793,7 @@ catch(const std::exception &e)
{ {
log::critical log::critical
{ {
log, "peer(%p) link(%p) tag(%p) done; error: %s", log, "peer(%p) link(%p) tag(%p) done; %s",
this, this,
&link, &link,
&tag, &tag,
@ -971,7 +971,7 @@ catch(const std::exception &e)
{ {
log::derror log::derror
{ {
log, "peer(%p): error: %s", log, "peer(%p): %s",
this, this,
e.what() e.what()
}; };