summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-12-07 17:47:23 -0800
committerMike Perry <mikeperry-git@fscked.org>2012-12-07 17:47:23 -0800
commit26fa47226cab49b260ba764aa050880f71927ea0 (patch)
tree5426fb2a5842c185b5864e5458171f422a67dd89 /src/or/rendclient.c
parentc3b71a3fc96c6f3eaaebd96ef8c15d4298d9639e (diff)
downloadtor-26fa47226cab49b260ba764aa050880f71927ea0.tar.gz
tor-26fa47226cab49b260ba764aa050880f71927ea0.zip
Refactor path use bias code into own function.
Also, improve and log some failure cases.
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 1d473dec07..3393e0f628 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -363,7 +363,7 @@ rend_client_introduction_acked(origin_circuit_t *circ,
/* For path bias: This circuit was used successfully. Valid
* nacks and acks count. */
- circ->any_streams_succeeded = 1;
+ circ->path_state = PATH_STATE_USE_SUCCEEDED;
if (request_len == 0) {
/* It's an ACK; the introduction point relayed our introduction request. */