summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.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/connection_edge.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/connection_edge.c')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 9c8aee9e47..7bec6272d8 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -13,7 +13,7 @@ const char connection_edge_c_id[] = "$Id$";
#include "or.h"
#include "tree.h"
-static struct addr_policy_t *socks_policy = NULL;
+static addr_policy_t *socks_policy = NULL;
/* List of exit_redirect_t */
static smartlist_t *redirect_exit_list = NULL;
@@ -1045,7 +1045,7 @@ int connection_ap_can_use_exit(connection_t *conn, routerinfo_t *exit)
void
parse_socks_policy(void)
{
- struct addr_policy_t *n;
+ addr_policy_t *n;
if (socks_policy) {
addr_policy_free(socks_policy);
socks_policy = NULL;