mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
Move a comment where it belongs
This commit is contained in:
parent
87dd61a6f8
commit
0a21f6a6df
1 changed files with 2 additions and 2 deletions
|
@ -474,7 +474,6 @@ UDP_OpenSocket (int port)
|
|||
Sys_Error ("UDP_OpenSocket: ioctl FIONBIO: %s", strerror (errno));
|
||||
memset (&address, 0, sizeof (address));
|
||||
address.sin6_family = AF_INET6;
|
||||
// ZOID -- check for interface binding option
|
||||
|
||||
memset (&hints, 0, sizeof (hints));
|
||||
hints.ai_family = PF_UNSPEC;
|
||||
|
@ -482,7 +481,8 @@ UDP_OpenSocket (int port)
|
|||
hints.ai_protocol = IPPROTO_UDP;
|
||||
hints.ai_flags = AI_PASSIVE;
|
||||
|
||||
if ((i = COM_CheckParm ("-ip")) != 0 && i < com_argc) {
|
||||
// ZOID -- check for interface binding option
|
||||
if ((i = COM_CheckParm ("-ip")) && i < com_argc) {
|
||||
Host = com_argv[i + 1];
|
||||
} else {
|
||||
Host = "0::0";
|
||||
|
|
Loading…
Reference in a new issue