mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
This commit is contained in:
parent
ef514d0e6b
commit
1b6b803a20
61 changed files with 120 additions and 118 deletions
|
|
@ -241,7 +241,7 @@ namespace PlatformNetState
|
|||
|
||||
struct addrinfo* pickAddressByProtocol(struct addrinfo* addr, int protocol)
|
||||
{
|
||||
for (addr; addr != NULL; addr = addr->ai_next)
|
||||
for (; addr != NULL; addr = addr->ai_next)
|
||||
{
|
||||
if (addr->ai_family == protocol)
|
||||
return addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue