Commit 85201b70 authored by nanahira's avatar nanahira

Merge branch 'patch-srv-withport' of ../versions/ygopro-fh

parents 3456832e 8781a2f3
Pipeline #16816 passed with stages
in 24 minutes and 48 seconds
......@@ -4433,8 +4433,8 @@ bool DuelClient::CheckHostnameSplitter(char* hostname, HostResult* result) {
auto hostLength = trySplitter - hostname;
strncpy(host, hostname, hostLength);
host[hostLength] = '\0';
result.host = LookupHost(host);
result.port = atoi(trySplitter + 1);
result->host = LookupHost(host);
result->port = atoi(trySplitter + 1);
return true;
}
......
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