1
0
Fork 0
forked from fte/fteqw

now compiles with mingw.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@116 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-04 17:40:49 +00:00
parent 9ed9b70d9d
commit ab6f58cf5e

View file

@ -166,7 +166,7 @@ void NetadrToSockadr (netadr_t *a, struct sockaddr_qstorage *s)
memset (s, 0, sizeof(struct sockaddr_in));
((struct sockaddr_in6*)s)->sin6_family = AF_INET6;
memcpy(&((struct sockaddr_in6*)s)->sin6_addr, &in6addr_any, sizeof(in6addr_any));
memcpy(&((struct sockaddr_in6*)s)->sin6_addr, 0, sizeof(struct in6_addr));
((struct sockaddr_in6*)s)->sin6_port = a->port;
break;
#endif
@ -867,7 +867,7 @@ int maxport = port + 100;
/// Con_TPrintf(TL_NETBINDINTERFACE,
// inet_ntoa(address.sin6_addr));
// } else
memcpy(&address.sin6_addr, &in6addr_any, sizeof(in6addr_any));
memset(&address.sin6_addr, 0, sizeof(struct in6_addr));
for(;;)
{