diff options
author | Martin Kepplinger <martink@posteo.de> | 2017-09-14 14:58:26 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-14 10:14:44 -0400 |
commit | a971018f6d0a457fddfaa1397ae823623257c2f6 (patch) | |
tree | 4f8ce8d336a73b203e684198033339a05ab0672f | |
parent | dedafe95feff363b0dac086e1f034b88dc112952 (diff) | |
download | tor-a971018f6d0a457fddfaa1397ae823623257c2f6.tar.gz tor-a971018f6d0a457fddfaa1397ae823623257c2f6.zip |
entrynodes.c: fix syntax error around BUG() statement
Fix those misplaced brackets.
Signed-off-by: Martin Kepplinger <martink@posteo.de>
-rw-r--r-- | src/or/entrynodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index cdebf2e43e..d762afdcfe 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -2372,7 +2372,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) { |