mirror of
https://github.com/matrix-construct/construct
synced 2025-03-13 21:10:32 +01:00
ircd::net::dns::cache: Use better buffer size constant.
This commit is contained in:
parent
0c1a54864c
commit
0a4bec978c
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ ircd::net::dns::cache::put(const hostport &hp,
|
|||
make_type(type_buf, opts.qtype)
|
||||
};
|
||||
|
||||
char state_key_buf[rfc1035::NAME_BUFSIZE * 2];
|
||||
char state_key_buf[m::event::STATE_KEY_MAX_SIZE];
|
||||
const string_view &state_key
|
||||
{
|
||||
opts.qtype == 33?
|
||||
|
@ -114,7 +114,7 @@ ircd::net::dns::cache::put(const hostport &hp,
|
|||
make_type(type_buf, type_code)
|
||||
};
|
||||
|
||||
char state_key_buf[rfc1035::NAME_BUFSIZE * 2];
|
||||
char state_key_buf[m::event::STATE_KEY_MAX_SIZE];
|
||||
const string_view &state_key
|
||||
{
|
||||
opts.qtype == 33?
|
||||
|
|
Loading…
Add table
Reference in a new issue