aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_edge.c2
-rw-r--r--src/or/or.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 47230da2e0..d7e8394614 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2848,6 +2848,8 @@ int
connection_ap_can_use_exit(edge_connection_t *conn, routerinfo_t *exit,
int excluded_means_no)
{
+ or_options_t *options = get_options();
+
tor_assert(conn);
tor_assert(conn->_base.type == CONN_TYPE_AP);
tor_assert(conn->socks_request);
diff --git a/src/or/or.h b/src/or/or.h
index 431b62e8de..eca3b6f0ce 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2341,7 +2341,7 @@ typedef struct {
struct routerset_t *_ExcludeExitNodesUnion;
int DisableAllSwap; /**< Boolean: Attempt to call mlockall() on our
- * process for all current and future memory. */
+ * process for all current and future memory. */
/** List of "entry", "middle", "exit", "introduction", "rendezvous". */
smartlist_t *AllowInvalidNodes;