diff options
author | Neel Chauhan <neel@neelc.org> | 2019-04-19 09:50:54 -0400 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2019-04-19 09:50:54 -0400 |
commit | 2ab19a48c24ce985ff8328c3c7778f6cd5bf90b3 (patch) | |
tree | 9c8c24d163e5f5ea1a312216c45cc0a5621e7b7e /src/feature/hs/hs_common.c | |
parent | efde686aa537b31c7cc626b863e3e0b750975526 (diff) | |
download | tor-2ab19a48c24ce985ff8328c3c7778f6cd5bf90b3.tar.gz tor-2ab19a48c24ce985ff8328c3c7778f6cd5bf90b3.zip |
Initialize rate_limited in hs_pick_hsdir() to false
Diffstat (limited to 'src/feature/hs/hs_common.c')
-rw-r--r-- | src/feature/hs/hs_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_common.c b/src/feature/hs/hs_common.c index f9caf24f1c..11efe078ae 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); |