瀏覽代碼

set the log_prefix buffer size to 1024b

Tristan Mahé 10 年之前
父節點
當前提交
439623667d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dprint.c

+ 1 - 1
dprint.c

@@ -420,7 +420,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;