]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
more typo fixes from mcs and gk
authorNick Mathewson <nickm@torproject.org>
Wed, 28 Jan 2015 16:25:37 +0000 (11:25 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 28 Jan 2015 16:25:37 +0000 (11:25 -0500)
src/or/control.c
src/or/dirserv.c
src/or/networkstatus.c

index 8e2b4625ae358cb3d8f19f52dc98e2551bac348e..ceb2b2f198421a6f9da0d0e8db4e4a6dc5ce502d 100644 (file)
@@ -2166,7 +2166,7 @@ static const getinfo_item_t getinfo_items[] = {
   PREFIX("ns/purpose/", networkstatus,
          "Brief summary of router status by purpose (v2 directory format)."),
   PREFIX("consensus/", networkstatus,
-         "Information abour and from the ns consensus."),
+         "Information about and from the ns consensus."),
   ITEM("network-status", dir,
        "Brief summary of router status (v1 directory format)"),
   ITEM("circuit-status", events, "List of current circuits originating here."),
index 4a6c50616c04a7021aae68c816b3411e66a389cc..c65e99e1ff24d639a17ff23075164e17bbe62ca6 100644 (file)
@@ -3258,7 +3258,7 @@ connection_dirserv_flushed_some(dir_connection_t *conn)
   }
 }
 
-/** Return true iff <b>line</b> is a valid RecommenedPackages line.
+/** Return true iff <b>line</b> is a valid RecommendedPackages line.
  */
 /*
   The grammar is:
index 0024b1ffc0553c355024f94899c5fb44eb53aa0f..a25413a12f1b699defeb8ed2c78597a77fe410cd 100644 (file)
@@ -1913,7 +1913,7 @@ getinfo_helper_networkstatus(control_connection_t *conn,
   } else if (!strcmpstart(question, "ns/purpose/")) {
     *answer = networkstatus_getinfo_by_purpose(question+11, time(NULL));
     return *answer ? 0 : -1;
-  } else if (!strcmpstart(question, "consensus/packages")) {
+  } else if (!strcmp(question, "consensus/packages")) {
     const networkstatus_t *ns = networkstatus_get_latest_consensus();
     if (ns->package_lines)
       *answer = smartlist_join_strings(ns->package_lines, "\n", 1, NULL);