summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-04-26 18:52:16 +0000
committerRoger Dingledine <arma@torproject.org>2005-04-26 18:52:16 +0000
commit509405a5f7643f94933ae7feb0a2788a73abd801 (patch)
tree7732760a74a902c247f746ebc52ccb97e54dc329 /src/or/circuituse.c
parent5e86e87124e643108c827366daac878e708d935d (diff)
downloadtor-509405a5f7643f94933ae7feb0a2788a73abd801.tar.gz
tor-509405a5f7643f94933ae7feb0a2788a73abd801.zip
clean up this TOR_FRAGILE business
svn:r4116
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 88ca9249b1..5fde33d5bc 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -731,9 +731,7 @@ circuit_launch_by_router(uint8_t purpose, routerinfo_t *exit,
default:
log_fn(LOG_WARN,"Bug: unexpected purpose %d when cannibalizing a general circ.",
purpose);
-#ifdef TOR_FRAGILE
- tor_assert(0);
-#endif
+ tor_fragile_assert();
return NULL;
}
return circ;