diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-06-23 00:59:47 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-06-23 00:59:47 +0000 |
commit | 6b933415d6c20935c98b0b3748724aa2485d82a9 (patch) | |
tree | a2347b064364515e6754b89a621def6877cd1738 /code/qcommon | |
parent | d19f5c00e3d1eb1de800cdcfb36dc0bb77f61cbd (diff) | |
download | ioquake3-aero-6b933415d6c20935c98b0b3748724aa2485d82a9.tar.gz ioquake3-aero-6b933415d6c20935c98b0b3748724aa2485d82a9.zip |
- fix typo in previous commit to net_ip.c
- Make servers send heartbeats to master servers in ipv4 as well as ipv6 if master server has both protocols
git-svn-id: svn://svn.icculus.org/quake3/trunk@1578 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/net_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 5647414..2cbd52b 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -285,7 +285,7 @@ static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int s if(family == AF_UNSPEC) { // Decide here and now which protocol family to use - if((net_enabled->integer & NET_PRIOV6) + if(net_enabled->integer & NET_PRIOV6) { if(net_enabled->integer & NET_ENABLEV6) search = SearchAddrInfo(res, AF_INET6); |