[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Initialize rate_limited in hs_pick_hsdir() to false
commit 2ab19a48c24ce985ff8328c3c7778f6cd5bf90b3
Author: Neel Chauhan <neel@xxxxxxxxx>
Date: Fri Apr 19 09:50:54 2019 -0400
Initialize rate_limited in hs_pick_hsdir() to false
---
src/feature/hs/hs_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/feature/hs/hs_common.c b/src/feature/hs/hs_common.c
index f9caf24f1..11efe078a 100644
--- a/src/feature/hs/hs_common.c
+++ b/src/feature/hs/hs_common.c
@@ -1605,7 +1605,7 @@ hs_pick_hsdir(smartlist_t *responsible_dirs, const char *req_key_str,
routerstatus_t *hs_dir;
time_t now = time(NULL);
int excluded_some;
- bool rate_limited;
+ bool rate_limited = false;
int rate_limited_count = 0;
int responsible_dirs_count = smartlist_len(responsible_dirs);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits