0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-01 03:18:54 +01: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)
}; };
} }