mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Prettyify code.
This commit is contained in:
parent
2ebd98b89f
commit
db34bcbdbf
1 changed files with 2 additions and 2 deletions
|
|
@ -909,9 +909,9 @@ static SOCKET_TYPE UDP_Bind(int family, struct sockaddr *addr, socklen_t addrlen
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getsockname(s, (struct sockaddr *)&sin, &len) == -1)
|
if (getsockname(s, (struct sockaddr *)&sin, &len) == -1)
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("Failed to get port number\n"));
|
CONS_Alert(CONS_WARNING, M_GetText("Failed to get port number\n"));
|
||||||
else
|
else
|
||||||
current_port = (UINT16)ntohs(sin.sin_port);
|
current_port = (UINT16)ntohs(sin.sin_port);
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue