commit 5fa88a7ae13effc02d42070313d3082bf98e22a7
parent aba954b662cc1223d11ac3dc99323b9ebf687085
Author: James McCoy <jamessan@jamessan.com>
Date: Thu, 7 Dec 2023 06:32:06 -0500
Merge pull request #26438 from jamessan/log_spec-name
fix(log): increase size of buffer for nvim instance name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/log.c b/src/nvim/log.c
@@ -295,7 +295,7 @@ static bool v_do_log_to_file(FILE *log_file, int log_level, const char *context,
FUNC_ATTR_PRINTF(7, 0)
{
// Name of the Nvim instance that produced the log.
- static char name[16] = { 0 };
+ static char name[32] = { 0 };
static const char *log_levels[] = {
[LOGLVL_DBG] = "DBG",