Simply return address, don't allow self_ip to be possibly written as something else
This commit is contained in:
1 parent
d7e8642236
commit
ea56bd472c
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user