[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.4] Bug 6572: Use timestamp_created for liveness sanity checks.



commit 65c0489dd4f0e10230f5c2fbb772a58e03e939bb
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date:   Tue Mar 26 20:28:19 2013 -0700

    Bug 6572: Use timestamp_created for liveness sanity checks.
    
    This should eliminate potential regressions caused by #7341.
---
 src/or/circuituse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index f02597e..14576f1 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -671,7 +671,7 @@ circuit_expire_building(void)
                      circuit_purpose_to_string(victim->purpose));
         } else if (circuit_build_times_count_close(&circ_times,
                                          first_hop_succeeded,
-                                         victim->timestamp_began.tv_sec)) {
+                                         victim->timestamp_created.tv_sec)) {
           circuit_build_times_set_timeout(&circ_times);
         }
       }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits