Skip to content
  • teor's avatar
    log/util_bug: Make IF_BUG_ONCE() support ALL_BUGS_ARE_FATAL · 6c458d2d
    teor authored
    ... and DISABLE_ASSERTS_IN_UNIT_TESTS.
    
    Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL and
    DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes.
    
    Implements these modes for IF_BUG_ONCE(). (It used to log a non-fatal
    warning, regardless of the debugging mode.)
    
    Fixes bug 33917; bugfix on 0.2.9.1-alpha.
    6c458d2d