summaryrefslogtreecommitdiff
path: root/src/common/util_bug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util_bug.c')
-rw-r--r--src/common/util_bug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/util_bug.c b/src/common/util_bug.c
index 606c665163..e3e1d6df90 100644
--- a/src/common/util_bug.c
+++ b/src/common/util_bug.c
@@ -26,7 +26,7 @@ tor_assertion_failed_(const char *fname, unsigned int line,
log_backtrace(LOG_ERR, LD_BUG, buf);
}
-
+/** Helper for tor_assert_nonfatal: report the assertion failure. */
void
tor_bug_occurred_(const char *fname, unsigned int line,
const char *func, const char *expr,
@@ -50,3 +50,4 @@ tor_bug_occurred_(const char *fname, unsigned int line,
}
log_backtrace(LOG_WARN, LD_BUG, buf);
}
+