[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix a segv
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv16716/src/or
Modified Files:
relay.c
Log Message:
fix a segv
Index: relay.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/relay.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- relay.c 25 Oct 2005 07:04:36 -0000 1.85
+++ relay.c 25 Oct 2005 15:30:02 -0000 1.86
@@ -1222,7 +1222,7 @@
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);