浏览代码

minor typos i found while constructing the changelog

Roger Dingledine 13 年之前
父节点
当前提交
67065c3c06
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      doc/tor.1.txt
  2. 2 2
      src/or/nodelist.c

+ 1 - 1
doc/tor.1.txt

@@ -1174,7 +1174,7 @@ The following options are useful only for clients (that is, if
 **ClientUseIPv6** **0**|**1**::
 **ClientUseIPv6** **0**|**1**::
     If this option is set to 1, Tor might connect to entry nodes over
     If this option is set to 1, Tor might connect to entry nodes over
     IPv6. Note that clients configured with an IPv6 address in a
     IPv6. Note that clients configured with an IPv6 address in a
-    **Bridge** option will try connecting over IPv6 if even if
+    **Bridge** line will try connecting over IPv6 even if
     **ClientUseIPv6** is set to 0. (Default: 0)
     **ClientUseIPv6** is set to 0. (Default: 0)
 
 
 **ClientPreferIPv6ORPort** **0**|**1**::
 **ClientPreferIPv6ORPort** **0**|**1**::

+ 2 - 2
src/or/nodelist.c

@@ -815,9 +815,9 @@ node_get_declared_family(const node_t *node)
  * <b>node</b>, else 0.
  * <b>node</b>, else 0.
  *
  *
  *  We prefer the IPv6 address if the router has an IPv6 address and
  *  We prefer the IPv6 address if the router has an IPv6 address and
- *  i) the node_t says that we do prefer IPv6
+ *  i) the node_t says that it prefers IPv6
  *  or
  *  or
- *  ii) the router has no IPv4 address.  */
+ *  ii) the router has no IPv4 address. */
 int
 int
 node_ipv6_preferred(const node_t *node)
 node_ipv6_preferred(const node_t *node)
 {
 {