0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-15 09:31:46 +02:00

ircd::net::dns::resolver: Fix case sensitivity of the tag host.

This commit is contained in:
Jason Volk 2023-04-22 00:18:28 -07:00
parent 238cc10489
commit 956aa7682f

View file

@ -132,11 +132,11 @@ ircd::net::dns::tag::tag(const hostport &hp,
{ {
this->hp.host = this->hp.host =
{ {
hostbuf, copy(hostbuf, hp.host) tolower(hostbuf, hp.host)
}; };
this->hp.service = this->hp.service =
{ {
servicebuf, copy(servicebuf, hp.service) tolower(servicebuf, hp.service)
}; };
} }