[or-cvs] correct multiple internal spaces

Nick Mathewson nickm at seul.org
Sun Nov 28 09:14:11 UTC 2004


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv12136/src/or

Modified Files:
	test.c 
Log Message:
correct multiple internal spaces

Index: test.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/test.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- test.c	28 Nov 2004 09:05:47 -0000	1.151
+++ test.c	28 Nov 2004 09:14:07 -0000	1.152
@@ -680,9 +680,9 @@
   test_eq(0L, tor_parse_long("10",10,50,100,NULL,NULL));
 
   /* Test parse_line_from_str */
-  strlcpy(buf, "k v\n" " key    value with spaces   \n"  "keykey val\n"
+  strlcpy(buf, "k v\n" " key    value with spaces   \n" "keykey val\n"
           "k2\n"
-          "k3 \n"  "\n" "   \n" "#comment\n"
+          "k3 \n" "\n" "   \n" "#comment\n"
           "k4#a\n" "k5#abc\n" "k6 val #with comment\n", sizeof(buf));
   cp = buf;
 



More information about the tor-commits mailing list