mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user