mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
Simply return address, don't allow self_ip to be possibly written as something else
This commit is contained in:
parent
d7e8642236
commit
ea56bd472c
1 changed files with 1 additions and 2 deletions
|
@ -361,8 +361,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…
Reference in a new issue