mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 00:51:17 +00:00
* Merge 954:955 from 1.34 branch
This commit is contained in:
parent
4502f863d4
commit
4abd270a67
4 changed files with 9 additions and 9 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue