SOCK_Send: Fix what appears to be a mistaken use of i instead of j

This commit is contained in:
Monster Iestyn 2018-09-03 15:52:22 +01:00
parent 24aafa6dac
commit 846bddfdcf

View file

@ -707,10 +707,10 @@ static void SOCK_Send(void)
{
if (myfamily[i] == broadcastaddress[j].any.sa_family)
{
if (broadcastaddress[i].any.sa_family == AF_INET)
if (broadcastaddress[j].any.sa_family == AF_INET)
d = d4;
#ifdef HAVE_IPV6
else if (broadcastaddress[i].any.sa_family == AF_INET6)
else if (broadcastaddress[j].any.sa_family == AF_INET6)
d = d6;
#endif
else