diff options
author | friendly73 <friendly73@x.x> | 2023-03-21 14:42:17 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-05-25 11:03:35 -0400 |
commit | 8cbfc90686bf229760edc43a6490180ed11a0ca2 (patch) | |
tree | 5a2e0a92597dfa6705be77e964a16ca03b53eb3a | |
parent | 1899b6230d62a185f3f126e34f4896237190cf36 (diff) | |
download | tor-8cbfc90686bf229760edc43a6490180ed11a0ca2.tar.gz tor-8cbfc90686bf229760edc43a6490180ed11a0ca2.zip |
Fixed new arguments for metrics_store_add
-rw-r--r-- | src/feature/relay/relay_metrics.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c index 2bed40c33d..95367d82cd 100644 --- a/src/feature/relay/relay_metrics.c +++ b/src/feature/relay/relay_metrics.c @@ -1080,8 +1080,8 @@ fill_est_intro_cells(void) static const size_t num_actions = ARRAY_LENGTH(actions); for (size_t i = 0; i < num_actions; ++i) { - sentry = - metrics_store_add(the_store, rentry->type, rentry->name, rentry->help); + sentry = metrics_store_add(the_store, rentry->type, rentry->name, + rentry->help, 0, NULL); metrics_store_entry_add_label( sentry, metrics_format_label("action", actions[i].name)); metrics_store_entry_update(sentry, @@ -1118,8 +1118,8 @@ fill_est_rend_cells(void) static const size_t num_actions = ARRAY_LENGTH(actions); for (size_t i = 0; i < num_actions; ++i) { - sentry = - metrics_store_add(the_store, rentry->type, rentry->name, rentry->help); + sentry = metrics_store_add(the_store, rentry->type, rentry->name, + rentry->help, 0, NULL); metrics_store_entry_add_label( sentry, metrics_format_label("action", actions[i].name)); metrics_store_entry_update(sentry, (long)est_rend_actions[actions[i].key]); @@ -1156,8 +1156,8 @@ fill_intro1_cells(void) static const size_t num_actions = ARRAY_LENGTH(actions); for (size_t i = 0; i < num_actions; ++i) { - sentry = - metrics_store_add(the_store, rentry->type, rentry->name, rentry->help); + sentry = metrics_store_add(the_store, rentry->type, rentry->name, + rentry->help, 0, NULL); metrics_store_entry_add_label( sentry, metrics_format_label("action", actions[i].name)); metrics_store_entry_update(sentry, (long)intro1_actions[actions[i].key]); @@ -1192,8 +1192,8 @@ fill_rend1_cells(void) static const size_t num_actions = ARRAY_LENGTH(actions); for (size_t i = 0; i < num_actions; ++i) { - sentry = - metrics_store_add(the_store, rentry->type, rentry->name, rentry->help); + sentry = metrics_store_add(the_store, rentry->type, rentry->name, + rentry->help, 0, NULL); metrics_store_entry_add_label( sentry, metrics_format_label("action", actions[i].name)); metrics_store_entry_update(sentry, (long)rend1_actions[actions[i].key]); |