diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2014-09-14 17:07:05 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-22 14:18:00 -0400 |
commit | 2e951f8dda4046d940b9268a8f02fe221098ab58 (patch) | |
tree | 42a7f47c0e7c65a2d901c903bc2fccffb3d542ed /src/test/test_policy.c | |
parent | 0eaf82947d862852e59b17a1763e49d57de03873 (diff) | |
download | tor-2e951f8dda4046d940b9268a8f02fe221098ab58.tar.gz tor-2e951f8dda4046d940b9268a8f02fe221098ab58.zip |
Whitespace fixes
Diffstat (limited to 'src/test/test_policy.c')
-rw-r--r-- | src/test/test_policy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c index 5f044d05b7..f1196c255e 100644 --- a/src/test/test_policy.c +++ b/src/test/test_policy.c @@ -47,8 +47,8 @@ test_policy_summary_helper(const char *policy_str, line.value = (char *)policy_str; line.next = NULL; - r = policies_parse_exit_policy(&line, &policy, - EXIT_POLICY_IPV6_ENABLED | + r = policies_parse_exit_policy(&line, &policy, + EXIT_POLICY_IPV6_ENABLED | EXIT_POLICY_ADD_DEFAULT ,0); test_eq(r, 0); summary = policy_summarize(policy, AF_INET); @@ -199,10 +199,10 @@ test_policies_general(void *arg) line.key = (char*)"foo"; line.value = (char*)"accept *:80,reject private:*,reject *:*"; line.next = NULL; - + test_assert(0 == policies_parse_exit_policy(&line,&policy, EXIT_POLICY_IPV6_ENABLED | - EXIT_POLICY_ADD_DEFAULT,0)); + EXIT_POLICY_ADD_DEFAULT,0)); test_assert(policy); //test_streq(policy->string, "accept *:80"); //test_streq(policy->next->string, "reject *:*"); |