Merge pull request #26438 from jamessan/log_spec-name

fix(log): increase size of buffer for nvim instance name
This commit is contained in:
James McCoy 2023-12-07 06:32:06 -05:00 committed by GitHub
commit 5fa88a7ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",