summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-12-04 01:14:36 +0000
committerNick Mathewson <nickm@torproject.org>2004-12-04 01:14:36 +0000
commitfc87758ff3a1e194df96fb6914680d451cf8fe47 (patch)
tree9562b7b31a3d89300d53c3788d49fd3f4cf2349d /src/or/directory.c
parente6942686444f0e25c903213add09ae95530f2805 (diff)
downloadtor-fc87758ff3a1e194df96fb6914680d451cf8fe47.tar.gz
tor-fc87758ff3a1e194df96fb6914680d451cf8fe47.zip
Add function to check that addr_policy_t is okay; change struct addr_policy_t to addr_policy_t.
svn:r3070
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 0492f9190a..b58d3d35f7 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -51,7 +51,7 @@ static int directory_handle_command(connection_t *conn);
/********* START VARIABLES **********/
-static struct addr_policy_t *dir_policy = NULL;
+static addr_policy_t *dir_policy = NULL;
#if 0 /* commented out for now, since for now what clients send is
different from what servers want to receive */
@@ -74,7 +74,7 @@ char rend_fetch_url[] = "/tor/rendezvous/";
void
parse_dir_policy(void)
{
- struct addr_policy_t *n;
+ addr_policy_t *n;
if (dir_policy) {
addr_policy_free(dir_policy);
dir_policy = NULL;