Commit ea56bd47 by JugadorXEI

Simply return address, don't allow self_ip to be possibly written as something else

parent d7e86422
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment