From b59573949efd7427463d96c83ce059f79ab4f413 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 29 Dec 2006 02:47:51 +0000 Subject: r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500 Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205 --- src/or/relay.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/or/relay.c') diff --git a/src/or/relay.c b/src/or/relay.c index 3c5c8e1140..1f0431f231 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -195,7 +195,8 @@ circuit_receive_relay_cell(cell_t *cell, circuit_t *circ, int cell_direction) cell->circ_id = TO_OR_CIRCUIT(circ)->p_circ_id; /* switch it */ or_conn = TO_OR_CIRCUIT(circ)->p_conn; } else { - // XXXX NM WARN. + log_fn(LOG_PROTOCOL_WARN, LD_OR, + "Dropping unrecognized inbound cell on origin circuit."); return 0; } @@ -1395,12 +1396,6 @@ circuit_consider_stop_edge_reading(circuit_t *circ, crypt_path_t *layer_hint) layer_hint->package_window); if (layer_hint->package_window <= 0) { log_debug(domain,"yes, at-origin. stopped."); -#if 0 - // XXXX NM DEAD CODE. - for (conn = circ->n_streams; conn; conn=conn->next_stream) - if (conn->cpath_layer == layer_hint) - connection_stop_reading(conn); -#endif for (conn = TO_ORIGIN_CIRCUIT(circ)->p_streams; conn; conn=conn->next_stream) if (conn->cpath_layer == layer_hint) -- cgit v1.2.3-54-g00ecf