0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd:Ⓜ️:resource::request: Fixed buffer for remote string.

This commit is contained in:
Jason Volk 2020-04-12 15:15:19 -07:00
parent 0ff5ac43a6
commit 817ceee911

View file

@ -291,10 +291,11 @@ catch(const m::error &)
}
catch(const std::exception &e)
{
thread_local char rembuf[128];
log::derror
{
resource::log, "X-Matrix Authorization from %s: %s",
string(remote(client)),
string(rembuf, remote(client)),
e.what()
};