aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2023-12-07 06:32:06 -0500
committerGitHub <noreply@github.com>2023-12-07 06:32:06 -0500
commit5fa88a7ae13effc02d42070313d3082bf98e22a7 (patch)
treef239f74be4bc6422f28bda2e40bf4cd217a33c51
parentaba954b662cc1223d11ac3dc99323b9ebf687085 (diff)
parentec80e4cb4d3145a0ab6c3f2820c9f21f2108d5ab (diff)
downloadrneovim-5fa88a7ae13effc02d42070313d3082bf98e22a7.tar.gz
rneovim-5fa88a7ae13effc02d42070313d3082bf98e22a7.tar.bz2
rneovim-5fa88a7ae13effc02d42070313d3082bf98e22a7.zip
Merge pull request #26438 from jamessan/log_spec-name
fix(log): increase size of buffer for nvim instance name
-rw-r--r--src/nvim/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/log.c b/src/nvim/log.c
index a93dab6238..4370693f49 100644
--- 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",