summaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-08-16 00:29:27 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-08-16 00:46:44 +0200
commit561ca9b987e093755603f1cce8f7d783c7b3006e (patch)
tree986bcf1fab60a67173acf883cd0a59f647af6473 /src/or/policies.c
parenta64e660f0e146d8530da74d74bc9c196e6ac21fe (diff)
downloadtor-561ca9b987e093755603f1cce8f7d783c7b3006e.tar.gz
tor-561ca9b987e093755603f1cce8f7d783c7b3006e.zip
Fix misplaced labels
Diffstat (limited to 'src/or/policies.c')
-rw-r--r--src/or/policies.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index db3c6d886b..4fd0904152 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -381,7 +381,7 @@ validate_addr_policies(or_options_t *options, char **msg)
ADDR_POLICY_ACCEPT))
REJECT("Error in ReachableDirAddresses entry.");
-err:
+ err:
addr_policy_list_free(addr_policy);
return *msg ? -1 : 0;
#undef REJECT
@@ -1272,7 +1272,7 @@ policy_summarize(smartlist_t *policy)
result = tor_malloc(final_size);
tor_snprintf(result, final_size, "%s %s", prefix, shorter_str);
-cleanup:
+ cleanup:
/* cleanup */
SMARTLIST_FOREACH(summary, policy_summary_item_t *, s, tor_free(s));
smartlist_free(summary);