summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-05 15:52:11 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-05 15:52:11 -0400
commit335ff915c7a509eb1b76e67f88c7b65d20032035 (patch)
tree05e6c27743522551faef179dd821e24028fd0ba5
parent06f0c1aa6a4ad0a6dfc93b1637214c307feed566 (diff)
parent93d52f6739d3bb184575aa53eab1562d2c80ee57 (diff)
downloadtor-335ff915c7a509eb1b76e67f88c7b65d20032035.tar.gz
tor-335ff915c7a509eb1b76e67f88c7b65d20032035.zip
Merge remote-tracking branch 'rransom-tor/bug3465-022' into maint-0.2.2
-rw-r--r--changes/bug3465-0226
-rw-r--r--src/or/circuitbuild.c10
-rw-r--r--src/or/circuitlist.c2
-rw-r--r--src/or/control.c3
4 files changed, 14 insertions, 7 deletions
diff --git a/changes/bug3465-022 b/changes/bug3465-022
new file mode 100644
index 0000000000..2d226162aa
--- /dev/null
+++ b/changes/bug3465-022
@@ -0,0 +1,6 @@
+ o Minor bugfixes:
+
+ - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
+ events/names' control-port command. Bugfix on 0.2.2.9-alpha;
+ fixes part of bug 3465.
+
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 6d7e71194e..1140f3314e 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1501,7 +1501,7 @@ get_unique_circ_id_by_conn(or_connection_t *conn)
}
/** If <b>verbose</b> is false, allocate and return a comma-separated list of
- * the currently built elements of circuit_t. If <b>verbose</b> is true, also
+ * the currently built elements of <b>circ</b>. If <b>verbose</b> is true, also
* list information about link status in a more verbose format using spaces.
* If <b>verbose_names</b> is false, give nicknames for Named routers and hex
* digests for others; if <b>verbose_names</b> is true, use $DIGEST=Name style
@@ -1590,7 +1590,7 @@ circuit_list_path_impl(origin_circuit_t *circ, int verbose, int verbose_names)
}
/** If <b>verbose</b> is false, allocate and return a comma-separated
- * list of the currently built elements of circuit_t. If
+ * list of the currently built elements of <b>circ</b>. If
* <b>verbose</b> is true, also list information about link status in
* a more verbose format using spaces.
*/
@@ -1601,7 +1601,7 @@ circuit_list_path(origin_circuit_t *circ, int verbose)
}
/** Allocate and return a comma-separated list of the currently built elements
- * of circuit_t, giving each as a verbose nickname.
+ * of <b>circ</b>, giving each as a verbose nickname.
*/
char *
circuit_list_path_for_controller(origin_circuit_t *circ)
@@ -1610,7 +1610,7 @@ circuit_list_path_for_controller(origin_circuit_t *circ)
}
/** Log, at severity <b>severity</b>, the nicknames of each router in
- * circ's cpath. Also log the length of the cpath, and the intended
+ * <b>circ</b>'s cpath. Also log the length of the cpath, and the intended
* exit point.
*/
void
@@ -1622,7 +1622,7 @@ circuit_log_path(int severity, unsigned int domain, origin_circuit_t *circ)
}
/** Tell the rep(utation)hist(ory) module about the status of the links
- * in circ. Hops that have become OPEN are marked as successfully
+ * in <b>circ</b>. Hops that have become OPEN are marked as successfully
* extended; the _first_ hop that isn't open (if any) is marked as
* unable to extend.
*/
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 8534c38075..e9cc9eb1f4 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -866,7 +866,7 @@ circuit_unlink_all_from_or_conn(or_connection_t *conn, int reason)
}
/** Return a circ such that:
- * - circ-\>rend_data-\>query is equal to <b>rend_query</b>, and
+ * - circ-\>rend_data-\>onion_address is equal to <b>rend_query</b>, and
* - circ-\>purpose is equal to <b>purpose</b>.
*
* Return NULL if no such circuit exists.
diff --git a/src/or/control.c b/src/or/control.c
index 82017bd1d4..da0a95da15 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1380,7 +1380,8 @@ getinfo_helper_misc(control_connection_t *conn, const char *question,
*answer = tor_strdup("CIRC STREAM ORCONN BW DEBUG INFO NOTICE WARN ERR "
"NEWDESC ADDRMAP AUTHDIR_NEWDESCS DESCCHANGED "
"NS STATUS_GENERAL STATUS_CLIENT STATUS_SERVER "
- "GUARD STREAM_BW CLIENTS_SEEN NEWCONSENSUS");
+ "GUARD STREAM_BW CLIENTS_SEEN NEWCONSENSUS "
+ "BUILDTIMEOUT_SET");
} else if (!strcmp(question, "features/names")) {
*answer = tor_strdup("VERBOSE_NAMES EXTENDED_EVENTS");
} else if (!strcmp(question, "address")) {