commit 7700b99fe6aa8b66a76e70a40f5f37eef1017e5e Author: Roger Dingledine arma@torproject.org Date: Wed Nov 1 16:44:09 2017 -0400
easy typos while reviewing commits --- src/or/config.c | 2 +- src/or/routerparse.c | 4 ++-- src/or/tor_api.h | 2 +- src/or/tor_main.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c index b09603f5c..b09535ba0 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1777,7 +1777,7 @@ options_act(const or_options_t *old_options) if (running_tor && !old_options && options->OwningControllerFD != -1) { #ifdef _WIN32 log_warn(LD_CONFIG, "OwningControllerFD is not supported on Windows. " - "If you neeed it, tell the Tor developers."); + "If you need it, tell the Tor developers."); return -1; #else const unsigned ctrl_flags = diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 15cdb0bbd..65874ae06 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -4027,7 +4027,7 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out, /** Return the common_digests_t that holds the digests of the * <b>flavor_name</b>-flavored networkstatus according to the detached * signatures document <b>sigs</b>, allocating a new common_digests_t as - * neeeded. */ + * needed. */ static common_digests_t * detached_get_digests(ns_detached_signatures_t *sigs, const char *flavor_name) { @@ -4041,7 +4041,7 @@ detached_get_digests(ns_detached_signatures_t *sigs, const char *flavor_name)
/** Return the list of signatures of the <b>flavor_name</b>-flavored * networkstatus according to the detached signatures document <b>sigs</b>, - * allocating a new common_digests_t as neeeded. */ + * allocating a new common_digests_t as needed. */ static smartlist_t * detached_get_signatures(ns_detached_signatures_t *sigs, const char *flavor_name) diff --git a/src/or/tor_api.h b/src/or/tor_api.h index 1abe6d114..b12ed718c 100644 --- a/src/or/tor_api.h +++ b/src/or/tor_api.h @@ -90,7 +90,7 @@ int tor_run_main(const tor_main_configuration_t *); * Run the tor process, as if from the command line. * * @deprecated Using this function from outside Tor is deprecated; you should - * use use tor_run_main() instead. + * use tor_run_main() instead. * * BUGS: This function has all the same bugs as tor_run_main(). * diff --git a/src/or/tor_main.c b/src/or/tor_main.c index 9f57f516e..c203d8248 100644 --- a/src/or/tor_main.c +++ b/src/or/tor_main.c @@ -14,7 +14,7 @@ int tor_main(int argc, char *argv[]);
/** We keep main() in a separate file so that our unit tests can use - * functions from main.c) + * functions from main.c. */ int main(int argc, char *argv[])
tor-commits@lists.torproject.org