mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
ircd::rfc1035: Fix typo.
This commit is contained in:
parent
fd41a3b9c1
commit
0abda3e175
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ ircd::rfc1035::question::question(const string_view &fqdn,
|
|||
// The name string_view is reduced to not view the null terminator
|
||||
// making it easier for external users. We'll account for this
|
||||
// internally. If this->name was a const_buffer it would have the
|
||||
// null, but doing it this way with the string_view covention prevents
|
||||
// null, but doing it this way with the string_view convention prevents
|
||||
// the null from leaking into the rest of the system when users want
|
||||
// to know the question.
|
||||
namebuf, size(make_name(namebuf, fqdn)) - 1
|
||||
|
|
Loading…
Add table
Reference in a new issue