[sr-dev] git:4.3:213abc43: set the log_prefix buffer size to 1024b
Daniel-Constantin Mierla
miconda at gmail.com
Mon Nov 16 12:03:26 CET 2015
Module: kamailio
Branch: 4.3
Commit: 213abc43fa2b3ff8fc8ab4db1859cb79298e201a
URL: https://github.com/kamailio/kamailio/commit/213abc43fa2b3ff8fc8ab4db1859cb79298e201a
Author: Tristan Mahé <gled at remote-shell.net>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-16T11:49:03+01:00
set the log_prefix buffer size to 1024b
(cherry picked from commit 439623667d6ea5cf9dec30033df94965213e8494)
---
Modified: dprint.c
---
Diff: https://github.com/kamailio/kamailio/commit/213abc43fa2b3ff8fc8ab4db1859cb79298e201a.diff
Patch: https://github.com/kamailio/kamailio/commit/213abc43fa2b3ff8fc8ab4db1859cb79298e201a.patch
---
diff --git a/dprint.c b/dprint.c
index 71b89e6..abf0211 100644
--- a/dprint.c
+++ b/dprint.c
@@ -366,7 +366,7 @@ void dprint_color_update(int level, char f, char b)
str *log_prefix_val = NULL;
static pv_elem_t *log_prefix_pvs = NULL;
-#define LOG_PREFIX_SIZE 128
+#define LOG_PREFIX_SIZE 1024
static char log_prefix_buf[LOG_PREFIX_SIZE];
static str log_prefix_str;
More information about the sr-dev
mailing list