Skip to content
Snippets Groups Projects
Commit 0d420918 authored by David Goulet's avatar David Goulet :panda_face:
Browse files

main: Off by one when dumping subsystem list


Fixes #40163

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent c9ddf191
No related branches found
No related tags found
No related merge requests found
......@@ -300,7 +300,7 @@ subsystems_thread_cleanup(void)
void
subsystems_dump_list(void)
{
for (unsigned i = 0; i < n_tor_subsystems - 1; ++i) {
for (unsigned i = 0; i < n_tor_subsystems; ++i) {
const subsys_fns_t *sys = tor_subsystems[i];
printf("% 4d\t%16s\t%s\n", sys->level, sys->name,
sys->location?sys->location:"");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment