[tor-commits] [tor/master] Use the correct spelling for "Dependent" in the control protocol.
nickm at torproject.org
nickm at torproject.org
Wed Jan 11 14:29:01 UTC 2017
commit 58172be657fcac81f37e2556bab4c68bacd36c98
Author: J. Ryan Stinnett <jryans at gmail.com>
Date: Thu Dec 29 22:27:04 2016 -0600
Use the correct spelling for "Dependent" in the control protocol.
Fixes #18146.
---
changes/18146 | 5 +++++
src/or/config.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/changes/18146 b/changes/18146
new file mode 100644
index 0000000..35565da
--- /dev/null
+++ b/changes/18146
@@ -0,0 +1,5 @@
+ o Minor bugfix (control protocol):
+ - The reply to a "GETINFO config/names" request via the control protocol
+ now spells the type "Dependent" correctly. This is a breaking change in
+ the control protocol. (It seems to be ignored by the most common known
+ clients.) Fixes bug 18146; bugfix on 0.1.1.4-alpha.
diff --git a/src/or/config.c b/src/or/config.c
index 7f789c4..583bcae 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -7859,7 +7859,7 @@ getinfo_helper_config(control_connection_t *conn,
case CONFIG_TYPE_CSV: type = "CommaList"; break;
case CONFIG_TYPE_CSV_INTERVAL: type = "TimeIntervalCommaList"; break;
case CONFIG_TYPE_LINELIST: type = "LineList"; break;
- case CONFIG_TYPE_LINELIST_S: type = "Dependant"; break;
+ case CONFIG_TYPE_LINELIST_S: type = "Dependent"; break;
case CONFIG_TYPE_LINELIST_V: type = "Virtual"; break;
default:
case CONFIG_TYPE_OBSOLETE:
More information about the tor-commits
mailing list