[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Initialize rate_limited to false in directory_get_from_hs_dir()
commit 144bc5026e90421bb814f35f2b61f3ffa0d078f8
Author: Neel Chauhan <neel@xxxxxxxxx>
Date: Fri Apr 19 09:17:29 2019 -0400
Initialize rate_limited to false in directory_get_from_hs_dir()
---
src/feature/rend/rendclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/feature/rend/rendclient.c b/src/feature/rend/rendclient.c
index 090722a4c..f84d221b1 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(). */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits