From 19f998ecde77493c725eb47b807c80693166bcf1 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 23 Jul 2007 10:56:17 +0000 Subject: [PATCH] Fixed a minor bug on exotic systems. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2530 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/net_wins.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/common/net_wins.c b/engine/common/net_wins.c index 8b0dc7680..3995d6369 100644 --- a/engine/common/net_wins.c +++ b/engine/common/net_wins.c @@ -1741,6 +1741,8 @@ int UDP6_OpenSocket (int port, qboolean bcast) // int i; int maxport = port + 100; + memset(&address, 0, sizeof(address)); + if ((newsocket = socket (PF_INET6, SOCK_DGRAM, 0)) == -1) { Con_Printf("IPV6 is not supported: %s\n", strerror(qerrno));