浏览代码

minor cleanups

svn:r6301
Roger Dingledine 19 年之前
父节点
当前提交
7b8373a7f3
共有 2 个文件被更改,包括 7 次插入6 次删除
  1. 1 1
      doc/control-spec.txt
  2. 6 5
      doc/dir-spec.txt

+ 1 - 1
doc/control-spec.txt

@@ -256,7 +256,7 @@ $Id$
   containing the source and destination addresses.  If request is
   containing the source and destination addresses.  If request is
   malformed, the server replies with "512 syntax error in command
   malformed, the server replies with "512 syntax error in command
   argument".  If the server can't fulfill the request, it replies with
   argument".  If the server can't fulfill the request, it replies with
-  "451 resource exhausted."
+  "451 resource exhausted".
 
 
   The client may decline to provide a body for the original address, and
   The client may decline to provide a body for the original address, and
   instead send a special null address ("0.0.0.0" for IPv4, "::0" for IPv6, or
   instead send a special null address ("0.0.0.0" for IPv4, "::0" for IPv6, or

+ 6 - 5
doc/dir-spec.txt

@@ -406,7 +406,7 @@ $Id$
    briefly, then tries that network-status document again from another
    briefly, then tries that network-status document again from another
    cache.  The client does not build circuits until, for every authority, it
    cache.  The client does not build circuits until, for every authority, it
    has a live network-status document, or until is has tried and failed to
    has a live network-status document, or until is has tried and failed to
-   get a networkstatus document.
+   get a network-status document.
 
 
    Also, if the most recently published network-status document is over 30
    Also, if the most recently published network-status document is over 30
    minutes old, the client downloads a network-status document.  When
    minutes old, the client downloads a network-status document.  When
@@ -435,9 +435,10 @@ $Id$
 
 
    Clients try to have the best descriptor for each router.  A descriptor is
    Clients try to have the best descriptor for each router.  A descriptor is
    "best" if:
    "best" if:
-      * it the most recently published descriptor listed for that router by
-        at least two network-status documents.
-      * OR, no descriptor for that router is listed by two or more
+      * It is the most recently published descriptor listed for that router
+        by at least two network-status documents.
+        OR,
+      * No descriptor for that router is listed by two or more
         network-status documents, and it is the most recently published
         network-status documents, and it is the most recently published
         descriptor listed by any network-status document.
         descriptor listed by any network-status document.
 
 
@@ -509,7 +510,7 @@ $Id$
 
 
    Circuits SHOULD NOT be built until the client has enough directory
    Circuits SHOULD NOT be built until the client has enough directory
    information: network-statuses (or failed attempts to download
    information: network-statuses (or failed attempts to download
-   networkstatuses) for all authorities, network-statues for at more than
+   network-statuses) for all authorities, network-statuses for at more than
    half of the authorites, and descriptors for at least 1/4 of the servers
    half of the authorites, and descriptors for at least 1/4 of the servers
    believed to be running.
    believed to be running.