mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-11 14:53:05 -05: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
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue