mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
printf bogosity fixes from Dabb
This commit is contained in:
parent
a26cd68ea9
commit
5df7fe5512
3 changed files with 3 additions and 3 deletions
|
@ -1337,7 +1337,7 @@ _Datagram_Connect (const char *host)
|
|||
ret = MSG_ReadByte (net_message);
|
||||
if (ret == CCREP_REJECT) {
|
||||
reason = MSG_ReadString (net_message);
|
||||
Sys_Printf (reason);
|
||||
Sys_Printf ("%s\n", reason);
|
||||
// strncpy (m_return_reason, reason, 31);
|
||||
goto ErrorReturn;
|
||||
}
|
||||
|
|
|
@ -199,7 +199,7 @@ SV_SendServerinfo (client_t *client)
|
|||
else
|
||||
MSG_WriteByte (&client->message, GAME_COOP);
|
||||
|
||||
snprintf (message, sizeof (message),
|
||||
snprintf (message, sizeof (message), "%s",
|
||||
PR_GetString (&sv_pr_state, SVstring (sv.edicts, message)));
|
||||
|
||||
MSG_WriteString (&client->message, message);
|
||||
|
|
|
@ -1481,7 +1481,7 @@ PF_logfrag (progs_t *pr)
|
|||
|
||||
SZ_Print (&svs.log[svs.logsequence & 1], s);
|
||||
if (sv_fraglogfile) {
|
||||
Qprintf (sv_fraglogfile, s);
|
||||
Qprintf (sv_fraglogfile, "%s", s);
|
||||
Qflush (sv_fraglogfile);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue