]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Grammar.
authorNick Mathewson <nickm@torproject.org>
Tue, 5 Jul 2016 16:10:12 +0000 (12:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 5 Jul 2016 16:10:12 +0000 (12:10 -0400)
I grepped and hand-inspected the "it's" instances, to see if any
were supposed to be possessive.  While doing that, I found a
"the the", so I grepped to see if there were any more.

src/common/sandbox.c
src/common/workqueue.h
src/or/keypin.c
src/or/policies.c
src/or/shared_random.h
src/or/transports.c

index 94b2fc678845cfb519d8b6b8d657233031c05b26..838b267ab4237ce0eb625718bc02a1f41b9f379b 100644 (file)
@@ -1239,7 +1239,7 @@ prot_strings(scmp_filter_ctx ctx, sandbox_cfg_t* cfg)
 
 /**
  * Auxiliary function used in order to allocate a sandbox_cfg_t element and set
- * it's values according the the parameter list. All elements are initialised
+ * its values according the parameter list. All elements are initialised
  * with the 'prot' field set to false, as the pointer is not protected at this
  * point.
  */
index 89282e6f21dedaceac3aaa5f5ad42e12767e681c..54276767b0c9e148769f2ed4b50898bbe0de669b 100644 (file)
@@ -7,7 +7,7 @@
 #include "compat.h"
 
 /** A replyqueue is used to tell the main thread about the outcome of
- * work that we queued for the the workers. */
+ * work that we queued for the workers. */
 typedef struct replyqueue_s replyqueue_t;
 /** A thread-pool manages starting threads and passing work to them. */
 typedef struct threadpool_s threadpool_t;
index 749bc6121cf38dd30f7de62c3bcb2eb3c2ead682..335c793cd90f09a879ba1090129c5c98b4f21e3a 100644 (file)
@@ -479,7 +479,7 @@ keypin_clear(void)
   HT_CLEAR(rsamap,&the_rsa_map);
 
   if (bad_entries) {
-    log_warn(LD_BUG, "Found %d discrepencies in the the keypin database.",
+    log_warn(LD_BUG, "Found %d discrepencies in the keypin database.",
              bad_entries);
   }
 }
index 2703d7edefd0c94ff656693ac3722e7f871996cb..7ddebd6096595c0f105f849e293da65678fe406d 100644 (file)
@@ -2345,11 +2345,13 @@ policy_summary_reject(smartlist_t *summary,
 }
 
 /** Add a single exit policy item to our summary:
- *  If it is an accept ignore it unless it is for all IP addresses
- *  ("*"), i.e. it's prefixlen/maskbits is 0, else call
+ *
+ *  If it is an accept, ignore it unless it is for all IP addresses
+ *  ("*", i.e. its prefixlen/maskbits is 0). Otherwise call
  *  policy_summary_accept().
- *  If it's a reject ignore it if it is about one of the private
- *  networks, else call policy_summary_reject().
+ *
+ *  If it is a reject, ignore it if it is about one of the private
+ *  networks. Otherwise call policy_summary_reject().
  */
 static void
 policy_summary_add_item(smartlist_t *summary, addr_policy_t *p)
index 7c0a3e749ddba68e8c9569424dfa752051d490ee..d1ba99d1fe4ad2b3038ba305d690f1a3d07507ab 100644 (file)
@@ -76,7 +76,7 @@ typedef struct sr_commit_t {
 
   /* Commit owner info */
 
-  /* The RSA identity key of the authority and it's base16 representation
+  /* The RSA identity key of the authority and its base16 representation,
    * which includes the NUL terminated byte. */
   char rsa_identity[DIGEST_LEN];
   char rsa_identity_hex[HEX_DIGEST_LEN + 1];
index 92539b1693f699120f19e11fcead96b76c3889af..c99ff1729ba4c1d9d15b3aa125eb0727ac546b72 100644 (file)
@@ -1270,7 +1270,7 @@ get_transport_options_for_server_proxy(const managed_proxy_t *mp)
 
 /** Return the string that tor should place in TOR_PT_SERVER_BINDADDR
  *  while configuring the server managed proxy in <b>mp</b>. The
- *  string is stored in the heap, and it's the the responsibility of
+ *  string is stored in the heap, and it's the responsibility of
  *  the caller to deallocate it after its use. */
 static char *
 get_bindaddr_for_server_proxy(const managed_proxy_t *mp)