From 690cb138e98f6c9414e65a765eb8affcbc683342 Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 13 Sep 2015 16:11:59 -0500 Subject: [PATCH] [netplay] this should fix netplay server on android, tested on windows and linux too --- netplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netplay.c b/netplay.c index d6de891f73..effa6ea38b 100644 --- a/netplay.c +++ b/netplay.c @@ -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;