浏览代码

don't add a spurious newline before [truncated]

svn:r2282
Roger Dingledine 21 年之前
父节点
当前提交
40f9f94794
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/common/log.c

+ 2 - 2
src/common/log.c

@@ -22,8 +22,8 @@
 #define snprintf _snprintf
 #endif
 
-#define TRUNCATED_STR "\n[truncated]"
-#define TRUNCATED_STR_LEN 12
+#define TRUNCATED_STR "[truncated]"
+#define TRUNCATED_STR_LEN 11
 
 /** Information for a single logfile; only used in log.c */
 typedef struct logfile_t {