summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-24 18:12:52 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-24 18:12:52 +0000
commita312afd67ed94422c1e23d67483ed6b67c39da28 (patch)
tree287217c562963ad7fec78ed04bdae47802806ff8 /src/or/relay.c
parent56aefe8d2389b26b103b8522d75148e4d65d2cc4 (diff)
downloadtor-a312afd67ed94422c1e23d67483ed6b67c39da28.tar.gz
tor-a312afd67ed94422c1e23d67483ed6b67c39da28.zip
r12936@catbus: nickm | 2007-05-24 14:12:34 -0400
Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 14078d2d69..27661302f3 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -358,7 +358,8 @@ circuit_package_relay_cell(cell_t *cell, circuit_t *circ,
} else { /* incoming cell */
or_circuit_t *or_circ;
if (CIRCUIT_IS_ORIGIN(circ)) {
- /* XXXX RD This is a bug, right? */
+ /* We should never package an _incoming_ cell from the circuit
+ * origin; that means we messed up somewhere. */
log_warn(LD_BUG,"incoming relay cell at origin circuit. Dropping.");
assert_circuit_ok(circ);
return 0; /* just drop it */