summaryrefslogtreecommitdiff
path: root/src/trunnel
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-09-04 17:16:49 +1000
committerteor <teor@torproject.org>2019-09-09 14:56:42 +1000
commit1609916c79612b5cc3a9b363a22f1a9035f2f77b (patch)
tree3b67c49c864222489cd01da12a8db120a7311b1c /src/trunnel
parenta22fbab98690f802ae3bda276078cc7fc767feba (diff)
downloadtor-1609916c79612b5cc3a9b363a22f1a9035f2f77b.tar.gz
tor-1609916c79612b5cc3a9b363a22f1a9035f2f77b.zip
log: Close log and err file descriptors before aborting
Part of 31594.
Diffstat (limited to 'src/trunnel')
-rw-r--r--src/trunnel/trunnel-local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trunnel/trunnel-local.h b/src/trunnel/trunnel-local.h
index c4118fce4c..80da371560 100644
--- a/src/trunnel/trunnel-local.h
+++ b/src/trunnel/trunnel-local.h
@@ -14,5 +14,6 @@
#define trunnel_reallocarray tor_reallocarray
#define trunnel_assert tor_assert
#define trunnel_memwipe(mem, len) memwipe((mem), 0, (len))
+#define trunnel_abort tor_abort_
#endif