mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Simply return address, don't allow self_ip to be possibly written as something else
This commit is contained in:
parent
3f53d768d1
commit
aa505823f5
1 changed files with 1 additions and 2 deletions
|
|
@ -362,8 +362,7 @@ static const char *DRPC_GetServerIP(void)
|
|||
{
|
||||
// We're not the server, so we could successfully get the IP!
|
||||
// No need to do anything else :)
|
||||
strcpy(self_ip, address);
|
||||
return self_ip;
|
||||
return address;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue