]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Enlarge buffer for log messages
authorAlexander Barton <alex@barton.de>
Fri, 5 Jan 2024 21:18:17 +0000 (22:18 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 6 Jan 2024 15:21:01 +0000 (16:21 +0100)
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

index c5371e87371708a9f4d71978e0e8dfddce402795..a325f5a32499f95626664b9df41243124ac80053 100644 (file)
@@ -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