aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-10-15 12:18:27 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-10-30 02:17:06 -0700
commite46d56a9b4458370cb8de0c92e10688402749845 (patch)
treebb5db160ec1f84cb0f826d3f506978b9f1f3452f /src/or
parent290b4dc3d62d0a593babcc1801aa94df40e83640 (diff)
downloadtor-e46d56a9b4458370cb8de0c92e10688402749845.tar
tor-e46d56a9b4458370cb8de0c92e10688402749845.tar.gz
Correct bogus comments
The behaviour of rend_services_introduce here is likely as bogus as the comments were.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/rendservice.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index ec58d6034..e89d68935 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1961,14 +1961,15 @@ rend_services_introduce(void)
smartlist_add(intro_routers, router);
}
- /* We have enough intro points, and the intro points we thought we had were
- * all connected.
- */
if (!intro_point_set_changed &&
(smartlist_len(service->intro_nodes) >=
(int)service->n_intro_points_wanted)) { /*XXX023 remove cast*/
- /* We have all our intro points! Start a fresh period and reset the
- * circuit count. */
+ /* We have enough intro circuits in progress, and none of our
+ * intro circuits have died since the last call to
+ * rend_services_introduce! Start a fresh period and reset the
+ * circuit count.
+ *
+ * XXXX WTF? */
service->intro_period_started = now;
service->n_intro_circuits_launched = 0;
continue;