[openjk] 10/23: [MP] Show infostring overflow reason

Simon McVittie smcv at debian.org
Thu Jan 11 17:28:59 UTC 2018


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit b5d4273c387cf5c51e4af6dc0a4174bc6dcbe026
Author: Razish <mrrazish at gmail.com>
Date:   Sun Dec 24 15:29:54 2017 +1100

    [MP] Show infostring overflow reason
---
 codemp/qcommon/q_shared.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/codemp/qcommon/q_shared.c b/codemp/qcommon/q_shared.c
index 439ea62..74e3cca 100644
--- a/codemp/qcommon/q_shared.c
+++ b/codemp/qcommon/q_shared.c
@@ -1009,7 +1009,7 @@ void Info_SetValueForKey( char *s, const char *key, const char *value ) {
 
 	if (strlen(newi) + strlen(s) >= MAX_INFO_STRING)
 	{
-		Com_Printf ("Info string length exceeded\n");
+		Com_Printf ("Info string length exceeded: %s\n", s);
 		return;
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git



More information about the Pkg-games-commits mailing list