mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge branch 'development' into EngineAPI-Refactor
This commit is contained in:
commit
3a71c75596
1937 changed files with 102332 additions and 70549 deletions
|
|
@ -1842,8 +1842,6 @@ void Net::addressToString(const NetAddress *address, char addressString[256])
|
|||
{
|
||||
char buffer[256];
|
||||
buffer[0] = '\0';
|
||||
sockaddr_in ipAddr;
|
||||
NetAddressToIPSocket(address, &ipAddr);
|
||||
inet_ntop(AF_INET, &(ipAddr.sin_addr), buffer, sizeof(buffer));
|
||||
if (ipAddr.sin_port == 0)
|
||||
dSprintf(addressString, 256, "IP:%s", buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue