diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-27 16:46:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-27 16:46:39 +0000 |
commit | 968ad93b0ac7f0e1deb2beb7d337e7270008ad9a (patch) | |
tree | 36c08f4ab3f1b0d77bf71a9a0c554d054a1ded11 /src/or | |
parent | 4e6b6e3ad797598ce5e3469029d128a85e68fff0 (diff) | |
download | tor-968ad93b0ac7f0e1deb2beb7d337e7270008ad9a.tar.gz tor-968ad93b0ac7f0e1deb2beb7d337e7270008ad9a.zip |
r19093@catbus: nickm | 2008-03-27 12:43:58 -0400
Only log a notice that dmalloc has been set up if it fails. Actually, since we have not added a temp log yet, I am not sure this ever does anything.
svn:r14216
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 6c75c3976a..9f6bff67f6 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1969,7 +1969,8 @@ tor_main(int argc, char *argv[]) #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); + if (!r) { + log_warn("Couldn't configure openssl to use dmalloc functions."); #endif #ifdef NT_SERVICE { |