aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-18 08:52:12 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-18 08:52:12 +0000
commit40f9f94794db4d9ce3f9dc9470b1192908cb2788 (patch)
tree76f1fa9eb01f89427ee0066d3ba555405cee6cf7
parent765530421efe00f87a864a32fecbf88bffa90319 (diff)
downloadtor-40f9f94794db4d9ce3f9dc9470b1192908cb2788.tar
tor-40f9f94794db4d9ce3f9dc9470b1192908cb2788.tar.gz
don't add a spurious newline before [truncated]
svn:r2282
-rw-r--r--src/common/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 8d4bb74d3..21bf444cd 100644
--- a/src/common/log.c
+++ b/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 {