fix a segv

svn:r5311
This commit is contained in:
Nick Mathewson 2005-10-25 15:30:02 +00:00
parent e7e170a59e
commit 9b6c5614c6

View file

@ -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);