Skip to content
Snippets Groups Projects
Commit ea56bd47 authored by JugadorXEI's avatar JugadorXEI
Browse files

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

parent d7e86422
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment