summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-07 21:07:19 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-07 21:07:19 +0000
commit8cc3307e0d240454985154504dfe8852c3cbb66a (patch)
tree59d8d756aa41507388e7edbe545c234f3cdbd28e /src/or/circuituse.c
parentdd98412ce122b84a01fb01e24068c9d7e95cb04f (diff)
downloadtor-8cc3307e0d240454985154504dfe8852c3cbb66a.tar.gz
tor-8cc3307e0d240454985154504dfe8852c3cbb66a.zip
Improve conn_*_to_string; add circuit_state_to_string; make skewed-descriptor messages better.
svn:r4047
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 257d521683..88ca9249b1 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -240,10 +240,10 @@ void circuit_expire_building(time_t now) {
if (victim->n_conn)
log_fn(LOG_INFO,"Abandoning circ %s:%d:%d (state %d:%s, purpose %d)",
victim->n_conn->address, victim->n_port, victim->n_circ_id,
- victim->state, circuit_state_to_string[victim->state], victim->purpose);
+ victim->state, circuit_state_to_string(victim->state), victim->purpose);
else
log_fn(LOG_INFO,"Abandoning circ %d (state %d:%s, purpose %d)", victim->n_circ_id,
- victim->state, circuit_state_to_string[victim->state], victim->purpose);
+ victim->state, circuit_state_to_string(victim->state), victim->purpose);
circuit_log_path(LOG_INFO,victim);
circuit_mark_for_close(victim);
}