diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-11-15 03:05:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-11-15 03:05:23 +0000 |
commit | 9b432311c4d692d68f913027a95e050b1067c5d9 (patch) | |
tree | b1488e36ea7fd8691f6ac1c2d2c2cf2cb0eabd90 /src/or/rendclient.c | |
parent | 4cd7bddfc332aa14621235beb649b73f494266b0 (diff) | |
download | tor-9b432311c4d692d68f913027a95e050b1067c5d9.tar.gz tor-9b432311c4d692d68f913027a95e050b1067c5d9.zip |
Make new logging stuff work on windows; fix a couple of windows typos.
svn:r5375
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index fd1af57aa4..07e8d02f24 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -216,10 +216,10 @@ rend_client_introduction_acked(circuit_t *circ, circ->rend_query) > 0) { /* There are introduction points left. Re-extend the circuit to * another intro point and try again. */ - extend_info_t *info; + extend_info_t *extend_info; int result; - info = rend_client_get_random_intro(circ->rend_query); - if (!info) { + extend_info = rend_client_get_random_intro(circ->rend_query); + if (!extend_info) { warn(LD_REND, "No introduction points left for %s. Closing.", safe_str(circ->rend_query)); circuit_mark_for_close(circ); @@ -229,9 +229,9 @@ rend_client_introduction_acked(circuit_t *circ, "Got nack for %s from %s. Re-extending circ %d, this time to %s.", safe_str(circ->rend_query), circ->build_state->chosen_exit->nickname, circ->n_circ_id, - info->nickname); - result = circuit_extend_to_new_exit(circ, info); - extend_info_free(info); + extend_info->nickname); + result = circuit_extend_to_new_exit(circ, extend_info); + extend_info_free(extend_info); return result; } } |