diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-26 17:25:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-26 17:25:16 +0000 |
commit | 745f3c859afff19bb6c28eef41b5b7312a9c5c35 (patch) | |
tree | fe98b902b2e4cb936e2f23632597b373945e7c66 /src | |
parent | 762d82cf7483933b8c134a7c87f97daf8d238371 (diff) | |
download | tor-745f3c859afff19bb6c28eef41b5b7312a9c5c35.tar.gz tor-745f3c859afff19bb6c28eef41b5b7312a9c5c35.zip |
r19066@catbus: nickm | 2008-03-26 13:24:15 -0400
Initialize logging before we log anything. Bugfix on 0.2.0.x-alpha.
svn:r14199
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 5630f4efe8..b569efde1b 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1963,12 +1963,12 @@ int tor_main(int argc, char *argv[]) { int result = 0; + init_logging(); #ifdef USE_DMALLOC int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc, _tor_dmalloc_free); log_notice(LD_CONFIG, "Set up dmalloc; returned %d", r); #endif - init_logging(); #ifdef NT_SERVICE { int done = 0; |