mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 00:10:59 +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)
|
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
|
const string_view &state_key
|
||||||
{
|
{
|
||||||
opts.qtype == 33?
|
opts.qtype == 33?
|
||||||
|
@ -114,7 +114,7 @@ ircd::net::dns::cache::put(const hostport &hp,
|
||||||
make_type(type_buf, type_code)
|
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
|
const string_view &state_key
|
||||||
{
|
{
|
||||||
opts.qtype == 33?
|
opts.qtype == 33?
|
||||||
|
|
Loading…
Reference in a new issue