avoid sending plaintext password on connect
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3080 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -323,7 +323,7 @@ static serverinfo *newserver(const char *name, uint ip = ENET_HOST_ANY, int port
|
||||
return si;
|
||||
}
|
||||
|
||||
void addserver(char *servername, char *serverport)
|
||||
void addserver(const char *servername, const char *serverport)
|
||||
{
|
||||
int port = atoi(serverport);
|
||||
if(port == 0) port = CUBE_DEFAULT_SERVER_PORT;
|
||||
|
||||
Reference in New Issue
Block a user