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:
parent
0ff5ac43a6
commit
817ceee911
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue