Commit a1dec447 authored by David Goulet's avatar David Goulet 🐼
Browse files

Merge branch 'tor-github/pr/1697'

parents 9662a13d 2a1f8ea2
Loading
Loading
Loading
Loading

changes/bug33095_041

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes (logging, bug reporting):
    - When logging a bug, do not say "Future instances of this warning
      will be silenced" unless we are actually going to do
      so. Previously we would say this whenever a BUG() check failed in
      the code.  Fixes bug 33095; bugfix on 0.4.1.1-alpha.
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@
  STMT_END
#define BUG(cond)                                                       \
  (ASSERT_PREDICT_UNLIKELY_(cond) ?                                     \
  (tor_bug_occurred_(SHORT_FILE__,__LINE__,__func__,"!("#cond")",1,NULL),1) \
  (tor_bug_occurred_(SHORT_FILE__,__LINE__,__func__,"!("#cond")",0,NULL),1) \
   : 0)
#endif /* defined(ALL_BUGS_ARE_FATAL) || ... */