diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 2fa38af8..e44ab855 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -3844,7 +3844,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) - 1); + Q_strcat(info, sizeof(info), "\n"); } Com_Printf( "%s: %s", NET_AdrToStringwPort( from ), info ); }