diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-27 20:05:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-27 20:05:44 +0000 |
commit | e89bf1c573e250bb13847ded09d921d5ad60a461 (patch) | |
tree | a0f17b2516e125806297a28c5ac8c217a2cf298d /src | |
parent | 9d132fbde6e776f2c4f18772deffa2a90faa7975 (diff) | |
download | tor-e89bf1c573e250bb13847ded09d921d5ad60a461.tar.gz tor-e89bf1c573e250bb13847ded09d921d5ad60a461.zip |
r19109@catbus: nickm | 2008-03-27 16:05:18 -0400
Replace a syntax error and a log message that was never emitted with a simple assert. Asserts are fun and easy.
svn:r14224
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index 4ff46461ff..1b50b4d7df 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1978,8 +1978,7 @@ tor_main(int argc, char *argv[]) #ifdef USE_DMALLOC int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc, _tor_dmalloc_free); - if (!r) { - log_warn("Couldn't configure openssl to use dmalloc functions."); + tor_assert(r); #endif #ifdef NT_SERVICE { |