summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-24 16:48:38 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-24 16:48:38 -0400
commit0b536469ee8a6d437cd939cbcdaa56039e27cdcb (patch)
tree80d358862f4ff10c3747e71159ea88c7ef32431d /src
parent4bbd6a27612e8e48c593dd0683294a980ecb8484 (diff)
parent76d0d62bd9ad91c54817f2599305575d9a551f08 (diff)
downloadtor-0b536469ee8a6d437cd939cbcdaa56039e27cdcb.tar.gz
tor-0b536469ee8a6d437cd939cbcdaa56039e27cdcb.zip
Merge remote-tracking branch 'rransom-tor/bug3456'
Diffstat (limited to 'src')
-rw-r--r--src/or/or.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 730b167d94..c9fe4ff8d0 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2192,15 +2192,15 @@ typedef struct {
/** How to extend to the planned exit node. */
extend_info_t *chosen_exit;
/** Whether every node in the circ must have adequate uptime. */
- int need_uptime;
+ unsigned int need_uptime : 1;
/** Whether every node in the circ must have adequate capacity. */
- int need_capacity;
+ unsigned int need_capacity : 1;
/** Whether the last hop was picked with exiting in mind. */
- int is_internal;
- /** Did we pick this as a one-hop tunnel (not safe for other conns)?
- * These are for encrypted connections that exit to this router, not
+ unsigned int is_internal : 1;
+ /** Did we pick this as a one-hop tunnel (not safe for other streams)?
+ * These are for encrypted dir conns that exit to this router, not
* for arbitrary exits from the circuit. */
- int onehop_tunnel;
+ unsigned int onehop_tunnel : 1;
/** The crypt_path_t to append after rendezvous: used for rendezvous. */
crypt_path_t *pending_final_cpath;
/** How many times has building a circuit for this task failed? */