Commit d179c5b2 authored by nanahira's avatar nanahira

fix

parent 3c7b9082
Pipeline #16751 failed with stages
in 6 minutes and 2 seconds
......@@ -4376,7 +4376,7 @@ bool DuelClient::LookupSRV(char *hostname, HostResult* result) {
char resolved[100];
#ifdef _WIN32
PDNS_RECORD ret;
DNS_STATUS status = DnsQuery_W(hostname, DNS_TYPE_SRV, DNS_QUERY_STANDARD, NULL, &ret, NULL);
DNS_STATUS status = DnsQuery_UTF8(hostname, DNS_TYPE_SRV, DNS_QUERY_STANDARD, NULL, &ret, NULL);
if(status != 0)
return false;
BufferIO::EncodeUTF8(ret->Data.SRV.pNameTarget, resolved);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment