diff options
author | Roger Dingledine <arma@torproject.org> | 2006-10-08 23:20:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-10-08 23:20:43 +0000 |
commit | 604b13c910ff91277de7881dc395198c1f6282cc (patch) | |
tree | 906899d5336931f932bc73384238490104255daf /src/or/circuitlist.c | |
parent | 969ec52e6bbd5c13bb1c2d1bf4731ccc80132816 (diff) | |
download | tor-604b13c910ff91277de7881dc395198c1f6282cc.tar.gz tor-604b13c910ff91277de7881dc395198c1f6282cc.zip |
remove some old debugging code
svn:r8657
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 8efe199f70..38adadf0b4 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -571,22 +571,6 @@ circuit_get_by_circid_orconn(uint16_t circ_id, or_connection_t *conn) return circ; } -/** Return true iff there is a circ such that - * - circ-\>n_circ_id or circ-\>p_circ_id is equal to <b>circ_id</b>, and - * - circ is attached to <b>conn</b>, either as p_conn or n_conn. - * Return NULL if no such circuit exists. - */ -int -circuit_id_used_on_conn(uint16_t circ_id, or_connection_t *conn) -{ - circuit_t *circ = circuit_get_by_circid_orconn_impl(circ_id, conn); - if (circ && circ->marked_for_close) - log_fn(LOG_NOTICE, LD_CIRC, - "I was about to re-use a circuit ID that had been marked." - " Good thing we fixed that bug!"); - return circ != NULL; -} - /** Return the circuit that a given edge connection is using. */ circuit_t * circuit_get_by_edge_conn(edge_connection_t *conn) |