From 5ecd1fec1583b8aa865ac5cae0cece42451395bd Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 20 Jun 2018 13:02:05 -0400 Subject: Move horrible-emergency handling into torerr.[ch] Previously we had code like this for bad things happening from signal handlers, but it makes sense to use the same logic to handle cases when something is happening at a level too low for log.c to be involved. My raw_assert*() stuff now uses this code. --- src/test/test_logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test_logging.c') diff --git a/src/test/test_logging.c b/src/test/test_logging.c index aebfd36068..eaad7ed135 100644 --- a/src/test/test_logging.c +++ b/src/test/test_logging.c @@ -3,6 +3,7 @@ #include "orconfig.h" #include "or/or.h" +#include "common/torerr.h" #include "common/torlog.h" #include "test/test.h" @@ -170,4 +171,3 @@ struct testcase_t logging_tests[] = { { "ratelim", test_ratelim, 0, NULL, NULL }, END_OF_TESTCASES }; - -- cgit v1.2.3-54-g00ecf