diff options
author | Roger Dingledine <arma@torproject.org> | 2005-02-01 00:37:16 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-02-01 00:37:16 +0000 |
commit | 2e97593d259d4b86f1bc2acca4be7a96895f8633 (patch) | |
tree | 80862d2194423d8567e586d970abb73fc356632d /src/or/circuituse.c | |
parent | e7e77d6d8e6bdbd77f74021917d612b514cc8fcf (diff) | |
download | tor-2e97593d259d4b86f1bc2acca4be7a96895f8633.tar tor-2e97593d259d4b86f1bc2acca4be7a96895f8633.tar.gz |
define TOR_FRAGILE if you want tor to give you a core when
something goes wrong. this should only be used by people actively
tracking bugs.
svn:r3487
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 268f17b05..590a71bc4 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -699,6 +699,9 @@ circuit_launch_by_identity(uint8_t purpose, const char *exit_digest, default: log_fn(LOG_WARN,"Bug: unexpected purpose %d when cannibalizing a general circ.", purpose); +#ifdef TOR_FRAGILE + tor_assert(0); +#endif return NULL; } return circ; |