summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2019-02-20 10:32:47 -0500
committerRoger Dingledine <arma@torproject.org>2019-02-20 10:32:47 -0500
commit249319ec5d3a17faf9a6060f1b3109f640874863 (patch)
treeeba0034117a98443ea9b25390f3b3911005afa69
parent97e1539f7f70898ac928f598bf711b7c317d29b7 (diff)
downloadtor-249319ec5d3a17faf9a6060f1b3109f640874863.tar.gz
tor-249319ec5d3a17faf9a6060f1b3109f640874863.zip
fix typos from #28614
-rw-r--r--changes/ticket286142
-rw-r--r--src/feature/nodelist/networkstatus.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/changes/ticket28614 b/changes/ticket28614
index 6c65ce49de..3c93313726 100644
--- a/changes/ticket28614
+++ b/changes/ticket28614
@@ -3,6 +3,6 @@
"binary" mode so that we can safely map it into memory later.
Fixes part of bug 28614; bugfix on 0.4.0.1-alpha.
- When reading a consensus file from disk, detect whether it
- was written in text mode, and re-read it in text mode if it
+ was written in text mode, and re-read it in text mode if so.
Fixes part of bug 28614; bugfix on 0.4.0.1-alpha.
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index 2c34754621..023115978c 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -1743,7 +1743,7 @@ networkstatus_set_current_consensus_from_ns(networkstatus_t *c,
#endif /* defined(TOR_UNIT_TESTS) */
/**
- * Helper: Read a the current consensus of type <b>flavor</b> from
+ * Helper: Read the current consensus of type <b>flavor</b> from
* <b>fname</b>. Flags and return values are as for
* networkstatus_set_current_consensus().
**/