From 8dc9a9a117c08cfc64e36c30e046082b3b843ba2 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 29 Mar 2019 06:16:20 +0000 Subject: [PATCH] Fix 'chat' userinfo not getting cleared, etc git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5441 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/common.c b/engine/common/common.c index 1bf91e75f..94ebb4709 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -6168,7 +6168,7 @@ const char *InfoBuf_BlobForKey (infobuf_t *info, const char *key, size_t *blobsi return info->keys[k].value; } if (large) - *large = InfoBuf_NeedsEncoding(key, sizeof(key)); + *large = InfoBuf_NeedsEncoding(key, strlen(key)); *blobsize = 0; return NULL; }