fix compile

This commit is contained in:
Roger Dingledine 2009-12-21 03:48:40 -05:00
parent 2138b05f17
commit 22e07b4ead
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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;