aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/logger/logger_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/logger/logger_file.c')
-rw-r--r--src/libserver/logger/logger_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/logger/logger_file.c b/src/libserver/logger/logger_file.c
index d8ce15de2..3d5cc148b 100644
--- a/src/libserver/logger/logger_file.c
+++ b/src/libserver/logger/logger_file.c
@@ -526,7 +526,7 @@ rspamd_log_file_log (const gchar *module, const gchar *id,
if (id != NULL) {
guint slen = strlen (id);
- slen = MIN (LOG_ID, slen);
+ slen = MIN (RSPAMD_LOG_ID_LEN, slen);
mr = rspamd_snprintf (m, mremain, "<%*.s>; ", slen,
id);
m += mr;