summaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_client.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-04-11 15:20:31 -0400
committerNeel Chauhan <neel@neelc.org>2019-04-11 15:21:17 -0400
commit011307dd5fa608739456b98d259b013286320b91 (patch)
tree2562d6b959b2de6c460007f9e08fe2254a58bd07 /src/feature/hs/hs_client.c
parent3c64cfe649be78c738fa8175d94ad9a0db37ef87 (diff)
downloadtor-011307dd5fa608739456b98d259b013286320b91.tar.gz
tor-011307dd5fa608739456b98d259b013286320b91.zip
Make repeated/rate limited HSFETCH queries fail with QUERY_RATE_LIMITED
Diffstat (limited to 'src/feature/hs/hs_client.c')
-rw-r--r--src/feature/hs/hs_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c
index c34271efca..b4b9f0a948 100644
--- a/src/feature/hs/hs_client.c
+++ b/src/feature/hs/hs_client.c
@@ -434,7 +434,7 @@ pick_hsdir_v3(const ed25519_public_key_t *onion_identity_pk)
/* Pick an HSDir from the responsible ones. The ownership of
* responsible_hsdirs is given to this function so no need to free it. */
- hsdir_rs = hs_pick_hsdir(responsible_hsdirs, base64_blinded_pubkey);
+ hsdir_rs = hs_pick_hsdir(responsible_hsdirs, base64_blinded_pubkey, NULL);
return hsdir_rs;
}