added comment in Host_Name_f()

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@301 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-08-29 10:22:17 +00:00
parent 205cabbdc2
commit fb2bae914f

View file

@ -1247,7 +1247,7 @@ void Host_Name_f (void)
Q_strncpy(newName, Cmd_Argv(1), sizeof(newName)-1);
else
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)
{