mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
test
This commit is contained in:
parent
d71d18a41c
commit
c751e438f3
1 changed files with 0 additions and 1 deletions
|
|
@ -636,7 +636,6 @@ static sockaddr_in resolve_address_dgram(const std::string& address, int port) {
|
|||
|
||||
std::memcpy(&serverAddr, addrinfo->ai_addr, sizeof(sockaddr_in));
|
||||
serverAddr.sin_port = htons(port);
|
||||
serverAddr.sin_addr.s_addr = INADDR_ANY;
|
||||
freeaddrinfo(addrinfo);
|
||||
return serverAddr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue