[tor-commits] [tor/master] Space out the line.key/line.value in test_policy_summary_helper_family_flags()

asn at torproject.org asn at torproject.org
Thu Mar 19 15:18:28 UTC 2020


commit 53e2292c051feddfad1ad0f75845a75ca7a854ea
Author: Neel Chauhan <neel at neelc.org>
Date:   Sun Mar 8 17:12:28 2020 -0700

    Space out the line.key/line.value in test_policy_summary_helper_family_flags()
---
 src/test/test_policy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test_policy.c b/src/test/test_policy.c
index 762241249..fb4b703ca 100644
--- a/src/test/test_policy.c
+++ b/src/test/test_policy.c
@@ -62,8 +62,8 @@ test_policy_summary_helper_family_flags(const char *policy_str,
   short_policy_t *short_policy = NULL;
   int success = 0;
 
-  line.key = (char*)"foo";
-  line.value = (char *)policy_str;
+  line.key = (char *) "foo";
+  line.value = (char *) policy_str;
   line.next = NULL;
 
   r = policies_parse_exit_policy(&line, &policy,





More information about the tor-commits mailing list