summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-01-05 22:18:17 +0100
committerAlexander Barton <alex@barton.de>2024-01-06 16:21:01 +0100
commit7c90264f1f9cc39b44bccd6214c4dc23268a55e0 (patch)
tree192ea2c79607dbb0175451a141d8666370b4aaf2 /src
parent21c1751b045b0be49e584a4ba191a330e0c381bb (diff)
downloadngircd-7c90264f1f9cc39b44bccd6214c4dc23268a55e0.tar.gz
ngircd-7c90264f1f9cc39b44bccd6214c4dc23268a55e0.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/defines.h2
1 files changed, 1 insertions, 1 deletions
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