added comment in Host_Name_f()

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@301 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2010-08-29 10:22:17 +00:00
parent 906df3f650
commit f17e534519
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ void Host_Name_f (void)
Q_strncpy(newName, Cmd_Argv(1), sizeof(newName)-1); Q_strncpy(newName, Cmd_Argv(1), sizeof(newName)-1);
else else
Q_strncpy(newName, Cmd_Args(), sizeof(newName)-1); Q_strncpy(newName, Cmd_Args(), sizeof(newName)-1);
newName[15] = 0; newName[15] = 0; // client_t structure actually says name[32].
if (cmd_source == src_command) if (cmd_source == src_command)
{ {