]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix typos from #32542
authorRoger Dingledine <arma@torproject.org>
Wed, 8 Apr 2020 23:13:52 +0000 (19:13 -0400)
committerRoger Dingledine <arma@torproject.org>
Wed, 8 Apr 2020 23:13:52 +0000 (19:13 -0400)
doc/tor.1.txt
src/feature/hs/hs_circuit.c
src/feature/hs/hs_client.c

index 3cd9a2403a4f9408f129dd3af2002e6456bbb9c2..fbe2915cf3533675fffbee350abd998ad0ac447c 100644 (file)
@@ -1592,7 +1592,7 @@ The following options are useful only for clients (that is, if
 
           X'F7' Onion Service Introduction Timed Out
 
-            Similar to X'F2' code but in this case, all introduction attemps
+            Similar to X'F2' code but in this case, all introduction attempts
             have failed due to a time out. (v3 only)
 
 // Anchor only for formatting, not visible in the man page.
index 53f574c14a5c53756aaef0bcab0074b76961db0f..447f664f81875bb3c46d72f57a496411e6af201e 100644 (file)
@@ -632,7 +632,7 @@ cleanup_on_close_client_circ(circuit_t *circ)
     hs_client_circuit_cleanup_on_close(circ);
   }
   /* It is possible the circuit has an HS purpose but no identifier (rend_data
-   * or hs_ident). Thus possible that this passess through. */
+   * or hs_ident). Thus possible that this passes through. */
 }
 
 /** Helper: cleanup function for client circuit. This is for every HS version.
@@ -648,7 +648,7 @@ cleanup_on_free_client_circ(circuit_t *circ)
     hs_client_circuit_cleanup_on_free(circ);
   }
   /* It is possible the circuit has an HS purpose but no identifier (rend_data
-   * or hs_ident). Thus possible that this passess through. */
+   * or hs_ident). Thus possible that this passes through. */
 }
 
 /* ========== */
index 40647ac2568e421cb9150ab7909222676f4e07eb..cf2f165c90ac3381abb3b17ec44bac858b2c8203 100644 (file)
@@ -992,7 +992,7 @@ intro_points_all_timed_out(const ed25519_public_key_t *service_pk)
   return ret;
 }
 
-/** Called when a rendezvous circuit has timed out. Every streams attached to
+/** Called when a rendezvous circuit has timed out. Every stream attached to
  * the circuit will get set with the SOCKS5_HS_REND_FAILED (0xF3) extended
  * error code so if the connection to the rendezvous point ends up not
  * working, this code could be sent back as a reason. */
@@ -1001,7 +1001,7 @@ socks_report_rend_circuit_timed_out(const origin_circuit_t *rend_circ)
 {
   tor_assert(rend_circ);
 
-  /* For each entry connections attached to this rendezvous circuit, report
+  /* For each entry connection attached to this rendezvous circuit, report
    * the error. */
   for (edge_connection_t *edge = rend_circ->p_streams; edge;
        edge = edge->next_stream) {
@@ -1858,10 +1858,10 @@ hs_client_circuit_cleanup_on_close(const circuit_t *circ)
   case CIRCUIT_PURPOSE_C_REND_READY:
   case CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED:
   case CIRCUIT_PURPOSE_C_REND_JOINED:
-    /* Report extended SOCKS error code when a rendezvous circuit timeouts.
+    /* Report extended SOCKS error code when a rendezvous circuit times out.
      * This MUST be done on_close() because it is possible the entry
      * connection would get closed before the circuit is freed and thus
-     * failing to report the error code. */
+     * would fail to report the error code. */
     if (has_timed_out) {
       socks_report_rend_circuit_timed_out(CONST_TO_ORIGIN_CIRCUIT(circ));
     }