0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 10:08:56 +02:00

ircd::net::dns: Improve exception message strings.

This commit is contained in:
Jason Volk 2020-03-05 13:58:21 -08:00
parent 65d41d0093
commit 33cafcdfa9
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ ircd::net::dns::resolve(const hostport &hp,
if(unlikely(!opts.qtype))
throw error
{
"A query type is required; not specified; cannot be deduced here."
"Query type is required; not specified; cannot be deduced here."
};
dns::callback handler
@ -119,7 +119,7 @@ ircd::net::dns::resolve(const hostport &hp,
if(unlikely(!opts.qtype))
throw error
{
"A query type is required; not specified; cannot be deduced here."
"Query type is required; not specified; cannot be deduced here."
};
// Try to satisfy from the cache first. This requires a ctx.

View file

@ -174,7 +174,7 @@ ircd::net::dns::resolver::make_query(const mutable_buffer &buf,
{
case 0: throw error
{
"A query type is required to form a question."
"Query type is required to form a question."
};
case 33: // SRV