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:
Lee Salzman
2008-10-16 23:53:38 +00:00
parent 77d80c24f7
commit 39e6b95c5e
7 changed files with 53 additions and 44 deletions
+1 -1
View File
@@ -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;