]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fixed est intro getter using wrong array
authorfriendly73 <friendly73@x.x>
Sun, 19 Feb 2023 19:03:48 +0000 (19:03 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 25 May 2023 15:03:35 +0000 (11:03 -0400)
src/feature/stats/rephist.c

index dbd753a23310a59764fdebeb0c0a55d70bbe3804..5ce4ed3ea8fc812a318a47698d2d6a2fbfc7f92d 100644 (file)
@@ -3053,7 +3053,7 @@ rep_hist_note_est_intro_action(est_intro_action_t action)
 uint64_t
 rep_hist_get_est_intro_action_count(est_intro_action_t action)
 {
-  return est_rend_actions[action];
+  return est_intro_actions[action];
 }
 
 void