summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
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;