mirror of
https://github.com/matrix-construct/construct
synced 2024-06-27 06:18:19 +02:00
ircd:Ⓜ️ Fix various inconsistent format strings; minor cleanup.
This commit is contained in:
parent
5fb1a6633d
commit
04c81a41ed
|
@ -491,7 +491,7 @@ try
|
|||
throw m::error
|
||||
{
|
||||
http::UNAUTHORIZED, "M_MISSING_AUTHORIZATION",
|
||||
"Required X-Matrix Authorization was not supplied"
|
||||
"Required X-Matrix Authorization was not supplied."
|
||||
};
|
||||
|
||||
const auto supplied_dest
|
||||
|
|
|
@ -132,7 +132,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set power_levels: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set power_levels :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -154,7 +155,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set room_alias_name: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set room_alias_name :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -180,7 +182,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set join_rules: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set join_rules :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -205,7 +208,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set history_visibility: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set history_visibility :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -230,7 +234,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set guest_access: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set guest_access :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -282,7 +287,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set room name: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set room name :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -299,7 +305,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set room topic: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set room topic :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -358,7 +365,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set guest_access: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set guest_access :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -375,7 +383,8 @@ try
|
|||
{
|
||||
report_error
|
||||
{
|
||||
errors, room_id, creator, "Failed to set public visibility: %s", e.what()
|
||||
errors, room_id, creator, "Failed to set public visibility :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,8 @@ ircd::m::vm::conform_check_origin
|
|||
if(unlikely(eval.copts && !my_host(at<"origin"_>(event))))
|
||||
throw error
|
||||
{
|
||||
fault::INVALID, "Issuing event for origin: %s", at<"origin"_>(event)
|
||||
fault::INVALID, "Issuing event for origin :%s",
|
||||
at<"origin"_>(event)
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
@ -207,7 +207,8 @@ send_worker()
|
|||
{
|
||||
log::error
|
||||
{
|
||||
"sender worker: %s", e.what()
|
||||
m::log, "sender worker :%s",
|
||||
e.what()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -491,7 +492,9 @@ catch(const std::exception &e)
|
|||
{
|
||||
log::error
|
||||
{
|
||||
"flush error to %s :%s", remote, e.what()
|
||||
"flush error to %s :%s",
|
||||
remote,
|
||||
e.what()
|
||||
};
|
||||
|
||||
return false;
|
||||
|
|
|
@ -86,7 +86,7 @@ post__upload(client &client,
|
|||
|
||||
log::debug
|
||||
{
|
||||
m::media::log, "%s uploaded %zu bytes uri: `%s' file_room: %s :%s",
|
||||
m::media::log, "%s uploaded %zu bytes uri: `%s' file_room %s :%s",
|
||||
request.user_id,
|
||||
request.head.content_length,
|
||||
content_uri,
|
||||
|
|
Loading…
Reference in a new issue