]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Space out the line.key/line.value in test_policy_summary_helper_family_flags()
authorNeel Chauhan <neel@neelc.org>
Mon, 9 Mar 2020 00:12:28 +0000 (17:12 -0700)
committerNeel Chauhan <neel@neelc.org>
Mon, 9 Mar 2020 00:12:28 +0000 (17:12 -0700)
src/test/test_policy.c

index 762241249c96cbc093e9bf9ff4314ae8718e74d5..fb4b703cae14ce7af65e8338b383968a5998ffc5 100644 (file)
@@ -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,