summaryrefslogtreecommitdiff
path: root/src/or/hs_circuit.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2018-02-07 12:22:29 -0500
committerRoger Dingledine <arma@torproject.org>2018-02-07 12:22:29 -0500
commita7440d9c9df1141a5ff52c1358bc28a8bb27bea3 (patch)
treeeab3a60021db7ade469173cb0c4c6076368b0dd0 /src/or/hs_circuit.c
parent78382d557ab3da0b11f4fbda829f463067fc808f (diff)
downloadtor-a7440d9c9df1141a5ff52c1358bc28a8bb27bea3.tar.gz
tor-a7440d9c9df1141a5ff52c1358bc28a8bb27bea3.zip
more fixes for typos, grammar, whitespace, etc
some of these ought to have been noticed by the "misspell" tool, so if anybody is debugging it, here are some bug reports :)
Diffstat (limited to 'src/or/hs_circuit.c')
-rw-r--r--src/or/hs_circuit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c
index 2a41c1cccf..faa4b5d450 100644
--- a/src/or/hs_circuit.c
+++ b/src/or/hs_circuit.c
@@ -699,12 +699,12 @@ hs_circ_service_get_intro_circ(const hs_service_intro_point_t *ip)
*
* We currently relaunch connections to rendezvous points if:
* - A rendezvous circuit timed out before connecting to RP.
- * - The redenzvous circuit failed to connect to the RP.
+ * - The rendezvous circuit failed to connect to the RP.
*
* We avoid relaunching a connection to this rendezvous point if:
- * - We have already tried MAX_REND_FAILURES times to connect to this RP.
+ * - We have already tried MAX_REND_FAILURES times to connect to this RP,
* - We've been trying to connect to this RP for more than MAX_REND_TIMEOUT
- * seconds
+ * seconds, or
* - We've already retried this specific rendezvous circuit.
*/
void
@@ -718,11 +718,11 @@ hs_circ_retry_service_rendezvous_point(origin_circuit_t *circ)
goto done;
}
- /* Flag the circuit that we are relaunching so to avoid to relaunch twice a
+ /* Flag the circuit that we are relaunching, to avoid to relaunch twice a
* circuit to the same rendezvous point at the same time. */
circ->hs_service_side_rend_circ_has_been_relaunched = 1;
- /* Legacy service don't have an hidden service ident. */
+ /* Legacy service don't have a hidden service ident. */
if (circ->hs_ident) {
retry_service_rendezvous_point(circ);
} else {