summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-14 10:15:38 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-14 10:15:38 -0400
commitfecad31f10271b1578d95fd87580898ee492d247 (patch)
tree30d462df1af8dd0cb4c70c360079d873d0d1ee61 /src/or/entrynodes.c
parent72b802001c83d6e2fae765dc355e937d213217b8 (diff)
parent471e0096ad832ac8d6840254892bde96ea38df45 (diff)
downloadtor-fecad31f10271b1578d95fd87580898ee492d247.tar.gz
tor-fecad31f10271b1578d95fd87580898ee492d247.zip
Merge branch 'maint-0.3.1'
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 739ec82484..c104b8a973 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -2385,7 +2385,7 @@ entry_guards_upgrade_waiting_circuits(guard_selection_t *gs,
SMARTLIST_FOREACH_BEGIN(all_circuits, origin_circuit_t *, circ) {
circuit_guard_state_t *state = origin_circuit_get_guard_state(circ);
- if BUG((state == NULL))
+ if (BUG(state == NULL))
continue;
if (state->state == GUARD_CIRC_STATE_WAITING_FOR_BETTER_GUARD) {