mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-15 15:42:27 +00:00
Netcode: handle NULL in addrinfo lookup
This commit is contained in:
parent
7b2a7190dd
commit
582905f04f
1 changed files with 1 additions and 1 deletions
|
|
@ -1310,7 +1310,7 @@ void I_ShutdownTcpDriver(void)
|
|||
static SINT8 SOCK_NetMakeNodewPort(const char *address, const char *port)
|
||||
{
|
||||
SINT8 newnode = -1;
|
||||
struct my_addrinfo *ai, *runp, hints;
|
||||
struct my_addrinfo *ai = NULL, *runp, hints;
|
||||
int gaie;
|
||||
|
||||
if (!port || !port[0])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue