summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-22 01:52:57 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-22 01:52:57 -0400
commitc9cb4f0a0e9eb3411dfdc446e4543d48b152f8f5 (patch)
tree1485273a5c7a691d43b7ab8cf4bc8d9ae9f55e31 /src/or/control.c
parent31f22505a6ddc802c00ffbcb0563bc3ddcc7092a (diff)
downloadtor-c9cb4f0a0e9eb3411dfdc446e4543d48b152f8f5.tar.gz
tor-c9cb4f0a0e9eb3411dfdc446e4543d48b152f8f5.zip
Rename has_completed_circuit to can_complete_circuit
Also redocument it. Related to #1362.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 7eead0e18a..4d505a98fb 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1726,7 +1726,7 @@ getinfo_helper_events(control_connection_t *control_conn,
/* Note that status/ is not a catch-all for events; there's only supposed
* to be a status GETINFO if there's a corresponding STATUS event. */
if (!strcmp(question, "status/circuit-established")) {
- *answer = tor_strdup(has_completed_circuit ? "1" : "0");
+ *answer = tor_strdup(can_complete_circuit ? "1" : "0");
} else if (!strcmp(question, "status/enough-dir-info")) {
*answer = tor_strdup(router_have_minimum_dir_info() ? "1" : "0");
} else if (!strcmp(question, "status/good-server-descriptor") ||