mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd::db: Use off-stack buffer here for logging.
This commit is contained in:
parent
239eb0e9ad
commit
51d729fa3a
1 changed files with 1 additions and 1 deletions
|
@ -1060,7 +1060,7 @@ ircd::db::database::logs::Logv(const rocksdb::InfoLogLevel level,
|
|||
if(level < GetInfoLogLevel())
|
||||
return;
|
||||
|
||||
char buf[1024]; const auto len
|
||||
thread_local char buf[1024]; const auto len
|
||||
{
|
||||
vsnprintf(buf, sizeof(buf), fmt, ap)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue