summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-24 09:20:43 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-24 09:20:43 -0400
commit8b89faf424e662d09bec57c96e923773438e737e (patch)
tree989009a944a6c713866b59a58b436c55b79a566c /src/or/control.c
parentb7dd3518b98a6473f78138f8abfdc3372f2339f6 (diff)
parentae374e0a56014b72e54adf2afb5676ae6788124c (diff)
downloadtor-8b89faf424e662d09bec57c96e923773438e737e.tar.gz
tor-8b89faf424e662d09bec57c96e923773438e737e.zip
Merge branch 'maint-0.3.0'
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 30067293dc..8e86005b83 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2064,7 +2064,7 @@ getinfo_helper_dir(control_connection_t *control_conn,
char d[DIGEST_LEN];
signed_descriptor_t *sd = NULL;
if (base16_decode(d, sizeof(d), question, strlen(question))
- != sizeof(d)) {
+ == sizeof(d)) {
/* XXXX this test should move into extrainfo_get_by_descriptor_digest,
* but I don't want to risk affecting other parts of the code,
* especially since the rules for using our own extrainfo (including