* Merge 954:955 from 1.34 branch

This commit is contained in:
Tim Angus 2006-11-28 14:03:27 +00:00
parent 4502f863d4
commit 4abd270a67
4 changed files with 9 additions and 9 deletions

View file

@ -2869,7 +2869,7 @@ void CL_ServerInfoPacket( netadr_t from, msg_t *msg ) {
Q_strncpyz( info, MSG_ReadString( msg ), MAX_INFO_STRING );
if (strlen(info)) {
if (info[strlen(info)-1] != '\n') {
strncat(info, "\n", sizeof(info));
strncat(info, "\n", sizeof(info) - 1);
}
Com_Printf( "%s: %s", NET_AdrToString( from ), info );
}