0
0
Fork 0
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:
Jason Volk 2019-08-02 22:34:24 -07:00
parent de00f3b0c3
commit b72b0ac110

View file

@ -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",