Browse Source

easy typos while reviewing commits

Roger Dingledine 6 years ago
parent
commit
7700b99fe6
4 changed files with 5 additions and 5 deletions
  1. 1 1
      src/or/config.c
  2. 2 2
      src/or/routerparse.c
  3. 1 1
      src/or/tor_api.h
  4. 1 1
      src/or/tor_main.c

+ 1 - 1
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 =

+ 2 - 2
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)

+ 1 - 1
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().
  *

+ 1 - 1
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[])