summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-20 21:04:44 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-20 21:04:44 +0000
commitc9a01dea5306662820fdada79a8c1f1442dbb07c (patch)
tree3bdcb65ff1723497d8c5191225c35573a0821f1f /src/or/control.c
parent01bc03eff43775d5f293c63d1dec05650a84a420 (diff)
downloadtor-c9a01dea5306662820fdada79a8c1f1442dbb07c.tar.gz
tor-c9a01dea5306662820fdada79a8c1f1442dbb07c.zip
r9313@Kushana: nickm | 2006-10-20 17:04:11 -0400
Oops. Conform to spec. svn:r8782
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index eb68497c3b..74484fdbde 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2404,9 +2404,15 @@ handle_control_usefeature(control_connection_t *conn,
SMARTLIST_FOREACH(args, const char *, arg, {
if (!strcasecmp(arg, "VERBOSE_NAMES"))
verbose_names = 1;
- else if (!strcasecmp(arg, "EXTENDED_FORMAT"))
+ else if (!strcasecmp(arg, "EXTENDED_EVENTS")) /* <- documented */
extended_events = 1;
- else {
+ else if (!strcasecmp(arg, "EXTENDED_FORMAT")) {
+ /* remove this in 0.1.2.4; EXTENDED_FORMAT only ever worked for a little
+ * while during 0.1.2.2-alpha-dev. */
+ log_warn(LD_GENERAL,
+ "EXTENDED_FORMAT is deprecated; use EXTENDED_EVENTS instead.");
+ extended_events = 1;
+ } else {
connection_printf_to_buf(conn, "552 Unrecognized feature \"%s\"\r\n",
arg);
bad = 1;