aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-04 22:23:24 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-04 22:23:24 +0000
commitbb8dc691ebc65b2412c3e332b7eae45b48c2a6df (patch)
tree8c56fe021dc5bd4c0c0beee4c2ae7646113052a6 /src/or/circuituse.c
parentef000fd82e832984ec19a417c7d6c267f9bf24da (diff)
downloadtor-bb8dc691ebc65b2412c3e332b7eae45b48c2a6df.tar.gz
tor-bb8dc691ebc65b2412c3e332b7eae45b48c2a6df.zip
Fix another time comparison bug in circuit_stream_is_being_handled().
Nick, can you confirm this one? This is also a backport candidate. svn:r5497
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index da0e18ff97..512b492924 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -307,7 +307,7 @@ circuit_stream_is_being_handled(connection_t *conn, uint16_t port, int min)
circ->purpose == CIRCUIT_PURPOSE_C_GENERAL &&
!circ->build_state->is_internal &&
(!circ->timestamp_dirty ||
- circ->timestamp_dirty + get_options()->MaxCircuitDirtiness < now)) {
+ circ->timestamp_dirty + get_options()->MaxCircuitDirtiness > now)) {
exitrouter = build_state_get_exit_router(circ->build_state);
if (exitrouter &&
(!need_uptime || circ->build_state->need_uptime)) {