mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix a compile error found under pcc. It wants single-quites to be escaped in strings, it seems.
svn:r17191
This commit is contained in:
parent
b56d1545db
commit
3f858b5b26
@ -1107,7 +1107,7 @@ test_util(void)
|
|||||||
|
|
||||||
str = parse_config_line_from_str(str, &k, &v);
|
str = parse_config_line_from_str(str, &k, &v);
|
||||||
test_streq(k, "kseven");
|
test_streq(k, "kseven");
|
||||||
test_streq(v, "a quoted 'string");
|
test_streq(v, "a quoted \'string");
|
||||||
tor_free(k); tor_free(v);
|
tor_free(k); tor_free(v);
|
||||||
test_assert(!strcmpstart(str, "k8 "));
|
test_assert(!strcmpstart(str, "k8 "));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user