[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r17191: {tor} Fix a compile error found under pcc. It wants single-quites (tor/trunk/src/or)
Author: nickm
Date: 2008-11-05 13:03:14 -0500 (Wed, 05 Nov 2008)
New Revision: 17191
Modified:
tor/trunk/src/or/test.c
Log:
Fix a compile error found under pcc. It wants single-quites to be escaped in strings, it seems.
Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c 2008-11-05 15:56:53 UTC (rev 17190)
+++ tor/trunk/src/or/test.c 2008-11-05 18:03:14 UTC (rev 17191)
@@ -1107,7 +1107,7 @@
str = parse_config_line_from_str(str, &k, &v);
test_streq(k, "kseven");
- test_streq(v, "a quoted 'string");
+ test_streq(v, "a quoted \'string");
tor_free(k); tor_free(v);
test_assert(!strcmpstart(str, "k8 "));