[tor-commits] [tor/release-0.2.2] Fix trailing asterisk in the output of "GETINFO info/names"

arma at torproject.org arma at torproject.org
Sun May 29 19:28:01 UTC 2011


commit 90f810801e92e8ee5d0b1341172f83e844af56c8
Author: Robert Ransom <rransom.8774 at gmail.com>
Date:   Wed May 18 04:13:21 2011 -0700

    Fix trailing asterisk in the output of "GETINFO info/names"
---
 changes/exit-policy-default-is-not-a-prefix |    5 +++++
 src/or/control.c                            |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/changes/exit-policy-default-is-not-a-prefix b/changes/exit-policy-default-is-not-a-prefix
new file mode 100644
index 0000000..6eb1e8d
--- /dev/null
+++ b/changes/exit-policy-default-is-not-a-prefix
@@ -0,0 +1,5 @@
+  o Minor bugfixes:
+    - Remove a trailing asterisk from "exit-policy/default" in the
+      output of the control port command "GETINFO info/names".  Bugfix
+      on 0.1.2.5-alpha.
+
diff --git a/src/or/control.c b/src/or/control.c
index 67e8b00..f7ff92a 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1907,8 +1907,8 @@ static const getinfo_item_t getinfo_items[] = {
          "v2 networkstatus docs as retrieved from a DirPort."),
   ITEM("dir/status-vote/current/consensus", dir,
        "v3 Networkstatus consensus as retrieved from a DirPort."),
-  PREFIX("exit-policy/default", policies,
-         "The default value appended to the configured exit policy."),
+  ITEM("exit-policy/default", policies,
+       "The default value appended to the configured exit policy."),
   PREFIX("ip-to-country/", geoip, "Perform a GEOIP lookup"),
   { NULL, NULL, NULL, 0 }
 };





More information about the tor-commits mailing list