diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-11-20 10:52:56 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-11-20 10:52:56 -0500 |
commit | cbc1b8a4f75d449a0843451954568e0c8498821e (patch) | |
tree | ce130537d11e56b6d1228aef5ce805bac89ea6a1 /src/or/policies.c | |
parent | e3cf39cefd24e2cc0d70a1726ac19fc86e4e47e7 (diff) | |
download | tor-cbc1b8a4f75d449a0843451954568e0c8498821e.tar.gz tor-cbc1b8a4f75d449a0843451954568e0c8498821e.zip |
fix "make check-spaces"
Diffstat (limited to 'src/or/policies.c')
-rw-r--r-- | src/or/policies.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index d588a805db..4d9b17cc32 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -901,7 +901,6 @@ addr_policy_append_reject_addr(smartlist_t **dest, const tor_addr_t *addr) smartlist_add(*dest, add); log_debug(LD_CONFIG, "Adding a reject ExitPolicy 'reject %s:*'", fmt_addr(addr)); - } /* Is addr public for the purposes of rejection? */ @@ -1309,7 +1308,6 @@ policies_add_outbound_addresses_to_smartlist(smartlist_t *addr_list, } } - /** Parse <b>ExitPolicy</b> member of <b>or_options</b> into <b>result</b> * smartlist. * If <b>or_options->IPv6Exit</b> is false, prepend an entry that @@ -2103,7 +2101,7 @@ policy_dump_to_string(const smartlist_t *policy_list, policy_string = smartlist_join_strings(policy_string_list, "\n", 0, NULL); -done: + done: SMARTLIST_FOREACH(policy_string_list, char *, str, tor_free(str)); smartlist_free(policy_string_list); |