[tor-commits] [tor/master] channel: Fix a comment typo

teor at torproject.org teor at torproject.org
Mon Apr 6 09:11:08 UTC 2020


commit 00ce25a7206d091444a65f1157468c8cb256b586
Author: teor <teor at torproject.org>
Date:   Mon Apr 6 19:10:30 2020 +1000

    channel: Fix a comment typo
---
 src/core/or/channel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/or/channel.c b/src/core/or/channel.c
index ccc5f571d..6fd33feda 100644
--- a/src/core/or/channel.c
+++ b/src/core/or/channel.c
@@ -2334,7 +2334,7 @@ channel_is_better(channel_t *a, channel_t *b)
   if (!a->is_canonical_to_peer && b->is_canonical_to_peer) return 0;
 
   /*
-   * Okay, if we're here they tied on canonicity, the prefer the older
+   * Okay, if we're here they tied on canonicity. Prefer the older
    * connection, so that the adversary can't create a new connection
    * and try to switch us over to it (which will leak information
    * about long-lived circuits). Additionally, switching connections



More information about the tor-commits mailing list