summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-25 15:30:02 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-25 15:30:02 +0000
commit9b6c5614c64ea0b76d0e3722dc438e31a06f0d85 (patch)
tree0c5878c8aa509e055446f9272f60ce885881f4d3 /src/or/relay.c
parente7e170a59ec8db6d5dc39cfbff193a107ac78220 (diff)
downloadtor-9b6c5614c64ea0b76d0e3722dc438e31a06f0d85.tar.gz
tor-9b6c5614c64ea0b76d0e3722dc438e31a06f0d85.zip
fix a segv
svn:r5311
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index a352d9efbb..b03262c13a 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1222,7 +1222,7 @@ static int
circuit_consider_stop_edge_reading(circuit_t *circ, crypt_path_t *layer_hint)
{
connection_t *conn = NULL;
- unsigned domain = conn->cpath_layer ? LD_APP : LD_EXIT;
+ unsigned domain = layer_hint ? LD_APP : LD_EXIT;
if (!layer_hint) {
debug(domain,"considering circ->package_window %d", circ->package_window);