fix typos from #28614

This commit is contained in:
Roger Dingledine 2019-02-20 10:32:47 -05:00
parent 97e1539f7f
commit 249319ec5d
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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().
**/