mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
CLEANUP: fix typo in naming for variable "unused"
In resolvers.c:rslv_promex_next_ts() and in stick-tables.c:stk_promex_next_ts(), an unused argument was mistakenly called "unsued" instead of "unused". Let's fix this in a separate patch so that it can be omitted from backports if this causes build problems.
This commit is contained in:
parent
da3b12ade1
commit
96cd04f8db
@ -3924,7 +3924,7 @@ static void *rslv_promex_start_ts(void *unused, unsigned int id)
|
||||
return LIST_NEXT(&resolver->nameservers, struct dns_nameserver *, list);
|
||||
}
|
||||
|
||||
static void *rslv_promex_next_ts(void *unsued, void *metric_ctx, unsigned int id)
|
||||
static void *rslv_promex_next_ts(void *unused, void *metric_ctx, unsigned int id)
|
||||
{
|
||||
struct dns_nameserver *ns = metric_ctx;
|
||||
struct resolvers *resolver = ns->parent;
|
||||
|
@ -5940,7 +5940,7 @@ static void *stk_promex_start_ts(void *unused, unsigned int id)
|
||||
return stktables_list;
|
||||
}
|
||||
|
||||
static void *stk_promex_next_ts(void *unsued, void *metric_ctx, unsigned int id)
|
||||
static void *stk_promex_next_ts(void *unused, void *metric_ctx, unsigned int id)
|
||||
{
|
||||
struct stktable *t = metric_ctx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user