[netplay] this should fix netplay server on android, tested on windows and linux too

This commit is contained in:
radius 2015-09-13 16:11:59 -05:00
parent eccda8c39a
commit 690cb138e9

View File

@ -165,7 +165,7 @@ static bool send_chunk(netplay_t *netplay)
{
if (sendto(netplay->udp_fd, (const char*)netplay->packet_buffer,
sizeof(netplay->packet_buffer), 0, addr,
sizeof(struct sockaddr)) != sizeof(netplay->packet_buffer))
sizeof(struct sockaddr_in6)) != sizeof(netplay->packet_buffer))
{
warn_hangup();
netplay->has_connection = false;