0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

Revert "ircd::server: Fix concurrency assumptions in server::get()."

This reverts commit 3db83faac3.
This commit is contained in:
Jason Volk 2019-03-25 18:31:05 -07:00
parent 1ffa00adbf
commit 6b3a459d29

View file

@ -116,7 +116,7 @@ ircd::server::interrupt_all()
ircd::server::peer &
ircd::server::get(const net::hostport &hostport)
{
char canonbuf[256];
thread_local char canonbuf[256];
const auto canonized
{
net::canonize(canonbuf, hostport)