From fc87758ff3a1e194df96fb6914680d451cf8fe47 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 4 Dec 2004 01:14:36 +0000 Subject: Add function to check that addr_policy_t is okay; change struct addr_policy_t to addr_policy_t. svn:r3070 --- src/or/connection_edge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/connection_edge.c') 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; -- cgit v1.2.3-54-g00ecf