mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
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
This commit is contained in:
parent
4e6b6e3ad7
commit
968ad93b0a
@ -1969,7 +1969,8 @@ tor_main(int argc, char *argv[])
|
|||||||
#ifdef USE_DMALLOC
|
#ifdef USE_DMALLOC
|
||||||
int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc,
|
int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc,
|
||||||
_tor_dmalloc_free);
|
_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
|
#endif
|
||||||
#ifdef NT_SERVICE
|
#ifdef NT_SERVICE
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user