aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-06 23:37:07 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-06 23:37:07 +0000
commit1cf37f90c4da02335109dad3cd4bb3fcdce81f24 (patch)
tree80e0a99b3e1b48d01ebce2ac02fe697b7a2eab83 /src/or/circuituse.c
parent864069f5c754f291c1c4ce63a7f9dc2bc31d4afe (diff)
downloadtor-1cf37f90c4da02335109dad3cd4bb3fcdce81f24.tar.gz
tor-1cf37f90c4da02335109dad3cd4bb3fcdce81f24.zip
bugfix and cleanups re: entry guards.
svn:r8620
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index c0c2245694..dceef0af24 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -740,7 +740,8 @@ circuit_build_failed(origin_circuit_t *circ)
"(%s:%d). I'm going to try to rotate to a better connection.",
n_conn->_base.address, n_conn->_base.port);
n_conn->_base.or_is_obsolete = 1;
- entry_guard_register_connect_status(n_conn->identity_digest, 0);
+ entry_guard_register_connect_status(n_conn->identity_digest, 0,
+ time(NULL));
}
}