[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] don"t add a spurious newline before [truncated]



Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common

Modified Files:
	log.c 
Log Message:
don't add a spurious newline before [truncated]


Index: log.c
===================================================================
RCS file: /home/or/cvsroot/src/common/log.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- log.c	15 Aug 2004 20:13:07 -0000	1.48
+++ log.c	18 Aug 2004 08:52:12 -0000	1.49
@@ -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 {