summaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-04-08 05:43:52 +0000
committerNick Mathewson <nickm@torproject.org>2006-04-08 05:43:52 +0000
commit5d466b76112ab5eaf59d9da4690f230abc9b2f44 (patch)
treee648d6812fe992df7378086741e09c6fe7abc61b /src/or/policies.c
parent7a804572ab18c4de0e576e521d583a5fa07808ac (diff)
downloadtor-5d466b76112ab5eaf59d9da4690f230abc9b2f44.tar.gz
tor-5d466b76112ab5eaf59d9da4690f230abc9b2f44.zip
Fix a couple of things that make GCC complain with verbose warnings on. Also, fix some whitespace.
svn:r6317
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 dba6f2678f..32c3fbc72f 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -262,7 +262,8 @@ load_policy_from_option(config_line_t *config, addr_policy_t **policy,
}
}
-void policies_parse_from_options(or_options_t *options)
+void
+policies_parse_from_options(or_options_t *options)
{
load_policy_from_option(options->SocksPolicy, &socks_policy, -1);
load_policy_from_option(options->DirPolicy, &dir_policy, -1);
@@ -273,7 +274,6 @@ void policies_parse_from_options(or_options_t *options)
parse_reachable_addresses();
}
-
/** Compare two provided address policy items, and return -1, 0, or 1
* if the first is less than, equal to, or greater than the second. */
static int