mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::net: Use buffer size consts.
This commit is contained in:
parent
de00f3b0c3
commit
b72b0ac110
1 changed files with 3 additions and 3 deletions
|
@ -4333,7 +4333,7 @@ try
|
|||
}
|
||||
catch(const mods::unavailable &e)
|
||||
{
|
||||
thread_local char buf[128];
|
||||
thread_local char buf[rfc1035::NAME_BUFSIZE];
|
||||
log::dwarning
|
||||
{
|
||||
log, "Failed to put error for '%s' in DNS cache :%s",
|
||||
|
@ -4361,7 +4361,7 @@ try
|
|||
}
|
||||
catch(const mods::unavailable &e)
|
||||
{
|
||||
thread_local char buf[128];
|
||||
thread_local char buf[rfc1035::NAME_BUFSIZE];
|
||||
log::dwarning
|
||||
{
|
||||
log, "Failed to put '%s' in DNS cache :%s",
|
||||
|
@ -4395,7 +4395,7 @@ try
|
|||
}
|
||||
catch(const mods::unavailable &e)
|
||||
{
|
||||
thread_local char buf[128];
|
||||
thread_local char buf[rfc1035::NAME_BUFSIZE];
|
||||
log::dwarning
|
||||
{
|
||||
log, "Failed to get '%s' from DNS cache :%s",
|
||||
|
|
Loading…
Reference in a new issue