diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 17:47:23 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 17:47:23 -0800 |
commit | 26fa47226cab49b260ba764aa050880f71927ea0 (patch) | |
tree | 5426fb2a5842c185b5864e5458171f422a67dd89 /src/or/rendclient.c | |
parent | c3b71a3fc96c6f3eaaebd96ef8c15d4298d9639e (diff) | |
download | tor-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.c | 2 |
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. */ |