Prettyify code.

This commit is contained in:
Steel Titanium 2019-04-28 22:02:25 -04:00
parent 72e402c1aa
commit 0128643043
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }