aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-04-19 09:17:29 -0400
committerNeel Chauhan <neel@neelc.org>2019-04-19 09:17:29 -0400
commit144bc5026e90421bb814f35f2b61f3ffa0d078f8 (patch)
treee7aaa57685391c2dee09450239643a407cfa827b /src
parent943559b18066e126652450df4402dca74ba1baa0 (diff)
downloadtor-144bc5026e90421bb814f35f2b61f3ffa0d078f8.tar.gz
tor-144bc5026e90421bb814f35f2b61f3ffa0d078f8.zip
Initialize rate_limited to false in directory_get_from_hs_dir()
Diffstat (limited to 'src')
-rw-r--r--src/feature/rend/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/rend/rendclient.c b/src/feature/rend/rendclient.c
index 090722a4c5..f84d221b1a 100644
--- a/src/feature/rend/rendclient.c
+++ b/src/feature/rend/rendclient.c
@@ -469,7 +469,7 @@ directory_get_from_hs_dir(const char *desc_id,
/* Automatically pick an hs dir if none given. */
if (!rs_hsdir) {
- bool rate_limited;
+ bool rate_limited = false;
/* Determine responsible dirs. Even if we can't get all we want, work with
* the ones we have. If it's empty, we'll notice in hs_pick_hsdir(). */