Commit 823fb68a authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Remove a redundant check in ..transition_affects_guards()

scan-build found that we we checking UseEntryGuards twice.

Fixes bug 21492.
parent 5dbbd6bc
Loading
Loading
Loading
Loading

changes/bug21492

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes (correctness):
    - Remove a redundant check for the UseEntryGuards option from the
      options_transition_affects_guards() function. Fixes bug 21492;
      bugfix on 0.3.0.1-alpha.
+0 −1
Original line number Diff line number Diff line
@@ -1587,7 +1587,6 @@ options_transition_affects_guards(const or_options_t *old,
  return
    (old->UseEntryGuards != new->UseEntryGuards ||
     old->UseBridges != new->UseBridges ||
     old->UseEntryGuards != new->UseEntryGuards ||
     old->ClientUseIPv4 != new->ClientUseIPv4 ||
     old->ClientUseIPv6 != new->ClientUseIPv6 ||
     old->FascistFirewall != new->FascistFirewall ||