mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Initialize rate_limited to false in directory_get_from_hs_dir()
This commit is contained in:
parent
943559b180
commit
144bc5026e
@ -469,7 +469,7 @@ directory_get_from_hs_dir(const char *desc_id,
|
|||||||
|
|
||||||
/* Automatically pick an hs dir if none given. */
|
/* Automatically pick an hs dir if none given. */
|
||||||
if (!rs_hsdir) {
|
if (!rs_hsdir) {
|
||||||
bool rate_limited;
|
bool rate_limited = false;
|
||||||
|
|
||||||
/* Determine responsible dirs. Even if we can't get all we want, work with
|
/* 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(). */
|
* the ones we have. If it's empty, we'll notice in hs_pick_hsdir(). */
|
||||||
|
Loading…
Reference in New Issue
Block a user