aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-24 18:12:52 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-24 18:12:52 +0000
commita312afd67ed94422c1e23d67483ed6b67c39da28 (patch)
tree287217c562963ad7fec78ed04bdae47802806ff8 /src/or/control.c
parent56aefe8d2389b26b103b8522d75148e4d65d2cc4 (diff)
downloadtor-a312afd67ed94422c1e23d67483ed6b67c39da28.tar.gz
tor-a312afd67ed94422c1e23d67483ed6b67c39da28.zip
r12936@catbus: nickm | 2007-05-24 14:12:34 -0400
Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 6c1b1c1214..fe1710b44e 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -876,7 +876,9 @@ handle_control_setevents(control_connection_t *conn, uint32_t len,
else if (!strcasecmp(ev, "GUARD"))
event_code = EVENT_GUARD;
else if (!strcasecmp(ev, "GUARDS")) {
- /* XXX tolerate buggy spec in 0.1.2.5-alpha through 0.1.2.10-rc */
+ /* XXXX021 This check is here to tolerate the controllers that
+ * depended on the buggy spec in 0.1.2.5-alpha through 0.1.2.10-rc.
+ * Once those versions are obsolete, stop supporting this. */
log_warn(LD_CONTROL, "Controller used obsolete 'GUARDS' event name; "
"use GUARD instead.");
event_code = EVENT_GUARD;
@@ -3083,7 +3085,7 @@ control_event_networkstatus_changed(smartlist_t *statuses)
smartlist_add(strs, s);
});
smartlist_add(strs, tor_strdup("\r\n.\r\n"));
- /* XXX the above strdup has an extra \r\n in it, resulting in
+ /* XXX020 the above strdup has an extra \r\n in it, resulting in
* a blank line in the NS output. Can we remove it, or is that
* bad since the output of networkstatus_getinfo_helper_single()
* only adds \n, not \r\n? */