Commit 8781a2f3 authored by nanahira's avatar nanahira

fix

parent 20e52dea
......@@ -4155,8 +4155,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