0
0
Fork 0
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:
Jason Volk 2018-06-01 14:16:07 -07:00
parent fd41a3b9c1
commit 0abda3e175

View file

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