aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-04-23 20:32:31 +0000
committerNick Mathewson <nickm@torproject.org>2008-04-23 20:32:31 +0000
commit05b184de01c4e7bc3afda55e881d511f581d8c0b (patch)
tree5f992173d348b9cc194660c7a0f9db8bb608b548 /src/or/test.c
parent5dc8062afaf3d753d303bf5b7402bc04f26ce95a (diff)
downloadtor-05b184de01c4e7bc3afda55e881d511f581d8c0b.tar
tor-05b184de01c4e7bc3afda55e881d511f581d8c0b.tar.gz
r15304@tombo: nickm | 2008-04-23 16:31:40 -0400
Forward-port: I had apparently broken OSX and Freebsd by not initializing threading before we initialize the logging system. This patch should do so, and fix bug 671. svn:r14430
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 41d1d354a..374abd1ab 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -3991,6 +3991,7 @@ main(int c, char**v)
int verbose = 0, any_selected = 0;
int loglevel = LOG_ERR;
+ tor_threads_init();
init_logging();
for (i = 1; i < c; ++i) {