diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-20 13:02:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-20 15:08:06 -0400 |
commit | 5ecd1fec1583b8aa865ac5cae0cece42451395bd (patch) | |
tree | f9645884a611826dc811fe159c17fd873b98768b /src/common/compat_time.c | |
parent | 8865972a0b18a2fdcf42b55149989d0705c85577 (diff) | |
download | tor-5ecd1fec1583b8aa865ac5cae0cece42451395bd.tar.gz tor-5ecd1fec1583b8aa865ac5cae0cece42451395bd.zip |
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.
Diffstat (limited to 'src/common/compat_time.c')
-rw-r--r-- | src/common/compat_time.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat_time.c b/src/common/compat_time.c index 5c70674615..913fa666e1 100644 --- a/src/common/compat_time.c +++ b/src/common/compat_time.c @@ -34,6 +34,7 @@ #include <mach/mach_time.h> #endif +#include "common/torerr.h" #include "common/torlog.h" #include "common/util.h" #include "common/container.h" |