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 {