Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
0575a182
Commit
0575a182
authored
Jun 29, 2020
by
Nick Mathewson
👁
Browse files
Merge remote-tracking branch 'tor-github/pr/1697/head' into maint-0.4.2
parents
21645629
2a1f8ea2
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/bug33095_041
0 → 100644
View file @
0575a182
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.
src/lib/log/util_bug.h
View file @
0575a182
...
...
@@ -196,7 +196,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) || ... */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment