Commit 144bc502 authored by Neel Chauhan's avatar Neel Chauhan
Browse files

Initialize rate_limited to false in directory_get_from_hs_dir()

parent 943559b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(). */