From: Alexander Barton Date: Fri, 5 Jan 2024 21:18:17 +0000 (+0100) Subject: Enlarge buffer for log messages X-Git-Tag: rel-27-rc1~91 X-Git-Url: https://arthur.barton.de/gitweb/?p=ngircd-alex.git;a=commitdiff_plain;h=7c90264f1f9cc39b44bccd6214c4dc23268a55e0 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. --- 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