aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-05-29 10:10:57 -0400
committerNick Mathewson <nickm@torproject.org>2019-05-29 10:10:57 -0400
commit2d66250d8acfc61210442df94fe04df09c2dbab6 (patch)
tree86957bd83d1b93d50b7a916186166d7ec3ecbfd2
parent24a2352d56d807320c45fcdd8c74435bda4302c2 (diff)
downloadtor-2d66250d8acfc61210442df94fe04df09c2dbab6.tar.gz
tor-2d66250d8acfc61210442df94fe04df09c2dbab6.zip
Remove want_cmddata from HSFETCH, which does not in fact want data
This looks a copy-and-paste error to me. Fixes bug 30646; bugfix on 0.4.1.1-alpha.
-rw-r--r--changes/bug306464
-rw-r--r--src/feature/control/control_cmd.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug30646 b/changes/bug30646
new file mode 100644
index 0000000000..e95a54e3ef
--- /dev/null
+++ b/changes/bug30646
@@ -0,0 +1,4 @@
+ o Minor bugfixes (controller):
+ - Repair the HSFETCH command so that it works again. Previously, it
+ expected a body when it shouldn't have. Fixes bug 30646; bugfix on
+ 0.4.1.1-alpha.
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c
index 17d5b0c7f3..abb579bd43 100644
--- a/src/feature/control/control_cmd.c
+++ b/src/feature/control/control_cmd.c
@@ -1385,7 +1385,6 @@ static const control_cmd_syntax_t hsfetch_syntax = {
.min_args = 1, .max_args = 1,
.accept_keywords = true,
.allowed_keywords = hsfetch_keywords,
- .want_cmddata = true,
};
/** Implementation for the HSFETCH command. */