Browse Source

fix compile

Roger Dingledine 14 years ago
parent
commit
22e07b4ead
2 changed files with 3 additions and 1 deletions
  1. 2 0
      src/or/connection_edge.c
  2. 1 1
      src/or/or.h

+ 2 - 0
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);

+ 1 - 1
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;