aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-05 12:10:12 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-05 12:10:12 -0400
commit8ba4ba0a7492e158640200cb26717abfcc6617b7 (patch)
tree1ea4b7d84d131ce8624b8c42ec14bda0993d3fa3
parent267e16ea616b3466652bfee81fec507ea45d96a6 (diff)
downloadtor-8ba4ba0a7492e158640200cb26717abfcc6617b7.tar.gz
tor-8ba4ba0a7492e158640200cb26717abfcc6617b7.zip
Grammar.
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.
-rw-r--r--src/common/sandbox.c2
-rw-r--r--src/common/workqueue.h2
-rw-r--r--src/or/keypin.c2
-rw-r--r--src/or/policies.c10
-rw-r--r--src/or/shared_random.h2
-rw-r--r--src/or/transports.c2
6 files changed, 11 insertions, 9 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 94b2fc6788..838b267ab4 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -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.
*/
diff --git a/src/common/workqueue.h b/src/common/workqueue.h
index 89282e6f21..54276767b0 100644
--- a/src/common/workqueue.h
+++ b/src/common/workqueue.h
@@ -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;
diff --git a/src/or/keypin.c b/src/or/keypin.c
index 749bc6121c..335c793cd9 100644
--- a/src/or/keypin.c
+++ b/src/or/keypin.c
@@ -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);
}
}
diff --git a/src/or/policies.c b/src/or/policies.c
index 2703d7edef..7ddebd6096 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -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)
diff --git a/src/or/shared_random.h b/src/or/shared_random.h
index 7c0a3e749d..d1ba99d1fe 100644
--- a/src/or/shared_random.h
+++ b/src/or/shared_random.h
@@ -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];
diff --git a/src/or/transports.c b/src/or/transports.c
index 92539b1693..c99ff1729b 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -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)