]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
easy typos while reviewing commits
authorRoger Dingledine <arma@torproject.org>
Wed, 1 Nov 2017 20:44:09 +0000 (16:44 -0400)
committerRoger Dingledine <arma@torproject.org>
Wed, 1 Nov 2017 20:44:09 +0000 (16:44 -0400)
src/or/config.c
src/or/routerparse.c
src/or/tor_api.h
src/or/tor_main.c

index b09603f5c106c5c2f11062770492aa6a0760754f..b09535ba0a578d93bec6ba24ccc98f37ec32b669 100644 (file)
@@ -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 =
index 15cdb0bbde05ec55f94c3ac691ea0b8d28b7ff27..65874ae0683d681e9d367e2a69ebf18a64c4ef98 100644 (file)
@@ -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)
index 1abe6d1145ed49999bcf4d7ec7cc81bfd4b73304..b12ed718c114cea5b28b0455630dc0bb8d5a2b97 100644 (file)
@@ -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().
  *
index 9f57f516ee44998946a7756f66a7d5741ed0686b..c203d8248fec20643168ed70590d7390b145f31d 100644 (file)
@@ -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[])