From 7c90264f1f9cc39b44bccd6214c4dc23268a55e0 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 5 Jan 2024 22:18:17 +0100 Subject: [PATCH 1/1] Enlarge buffer for log messages For example, SSL/TLS certificate information can easily get longer than 256 characters. So enlarge the log buffer to 1 KB. --- src/ngircd/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index c5371e87..a325f5a3 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -39,7 +39,7 @@ #define LINE_LEN 1024 /** Max. length of a log message. */ -#define MAX_LOG_MSG_LEN 256 +#define MAX_LOG_MSG_LEN 1024 /** Max. length of file name. */ #define FNAME_LEN 256 -- 2.39.2